From nobody@FreeBSD.org  Thu Dec 27 15:37:18 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AE7AB16A417
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2007 15:37:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A137D13C448
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2007 15:37:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBRFaftQ008808
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 27 Dec 2007 15:36:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id lBRFafmw008807;
	Thu, 27 Dec 2007 15:36:41 GMT
	(envelope-from nobody)
Message-Id: <200712271536.lBRFafmw008807@www.freebsd.org>
Date: Thu, 27 Dec 2007 15:36:41 GMT
From: Thomas Zander <riggs@rrr.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Fix bt848 regression in multimedia/mplayer and mencoder
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119065
>Category:       ports
>Synopsis:       Fix bt848 regression in multimedia/mplayer and mencoder
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 27 15:40:01 UTC 2007
>Closed-Date:    Mon Dec 31 00:30:54 UTC 2007
>Last-Modified:  Mon Dec 31 00:40:00 UTC 2007
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Thu Dec 27 16:09:45 UTC 2007 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119065 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Dec 31 00:30:53 UTC 2007 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119065 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/119065: commit references a PR
Date: Mon, 31 Dec 2007 00:30:44 +0000 (UTC)

 miwi        2007-12-31 00:30:40 UTC
 
   FreeBSD ports repository
 
   Modified files:
     multimedia/mplayer/files patch-stream-tvi_bsdbt848.c 
   Log:
   - Fix bt848 regression
   
   PR:             119065
   Submitted by:   Thomas Zander <riggs@rrr.de> (maintainer)
   Tested by:      Oliver Brandmueller <ob@e-Gitt.NET>
                   miwi (on current)
   
   Revision  Changes    Path
   1.3       +6 -4      ports/multimedia/mplayer/files/patch-stream-tvi_bsdbt848.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
