ports/119065: Fix bt848 regression in multimedia/mplayer and mencoder

Thomas Zander riggs at rrr.de
Thu Dec 27 15:40:02 UTC 2007


>Number:         119065
>Category:       ports
>Synopsis:       Fix bt848 regression in multimedia/mplayer and mencoder
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 15:40:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Zander
>Release:        6.2-STABLE
>Organization:
>Environment:
>Description:
The recent import of mplayer 1.0rc2 to the tree introduces a regression to bt848.
>How-To-Repeat:

>Fix:
The attached patch, tested and provided by Oliver Brandmueller <ob at e-Gitt.NET> fixes the regression.

Patch attached with submission follows:

diff -ruN /usr/ports/multimedia/mplayer/files/patch-stream-tvi_bsdbt848.c mplayer/files/patch-stream-tvi_bsdbt848.c
--- /usr/ports/multimedia/mplayer/files/patch-stream-tvi_bsdbt848.c	2007-12-16 13:05:17.000000000 +0800
+++ mplayer/files/patch-stream-tvi_bsdbt848.c	2007-12-27 23:29:30.000000000 +0800
@@ -1,5 +1,5 @@
---- stream/tvi_bsdbt848.c.orig	2007-10-08 03:49:26.000000000 +0800
-+++ stream/tvi_bsdbt848.c	2007-11-11 15:24:05.000000000 +0800
+--- stream/tvi_bsdbt848.c.orig	2007-10-07 21:49:26.000000000 +0200
++++ stream/tvi_bsdbt848.c	2007-12-26 12:28:21.000000000 +0100
 @@ -26,6 +26,7 @@
  #define NTSC_HEIGHT 480
  #define NTSC_FPS    29.97
@@ -62,16 +62,18 @@
              {
              mp_msg(MSGT_TV, MSGL_ERR, MSGTR_TV_Bt848IoctlFailed, "METEORSFMT", strerror(errno));
              return(TVI_CONTROL_FALSE);
-@@ -532,7 +552,7 @@
+@@ -531,8 +551,9 @@
+ /* Video Configuration */
  
  priv->videoready = TRUE;
++priv->btdev = strdup("/dev/bktr0");
  priv->immediatemode = FALSE;
 -priv->iformat = METEOR_FMT_PAL;
 +priv->iformat = BT848_IFORM_F_PALBDGHI;
  priv->maxheight = PAL_HEIGHT;
  priv->maxwidth = PAL_WIDTH;
  priv->maxfps = PAL_FPS;
-@@ -557,7 +577,7 @@
+@@ -557,7 +578,7 @@
      }
  
  if(priv->videoready == TRUE && 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list