Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 22:11:08 +0200 (CEST)
From:      Hendrik Scholz <hendrik@scholz.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Hendrik Scholz <hendrik@scholz.net>
Subject:   ports/70187: maintainer-patch: multimedia/transcode (unbreak WITH_LIBDV)
Message-ID:  <200408082011.i78KB8pi019077@goanna.raisdorf.net>
Resent-Message-ID: <200408082020.i78KKCEo018011@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70187
>Category:       ports
>Synopsis:       maintainer-patch: multimedia/transcode (unbreak WITH_LIBDV)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 20:20:12 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Hendrik Scholz
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD goanna.raisdorf.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Aug 7 04:27:16 CEST 2004 hscholz@goanna.raisdorf.net:/usr/src/sys/i386/compile/GOANNA i386


	
>Description:

Both Lukas Maly and Jobert reported build problems using WITH_LIBDV since
the libdv upgrade.
As it turns out these two lines are gone in libdv:
libdv/dv_types.h:static const int frame_size_525_60 = 10 * 150 * 80;
libdv/dv_types.h:static const int frame_size_625_50 = 12 * 150 * 80;

import/decode_dv.c from transcode relies on these so the attached patch
just emulates the same behaviour.

>How-To-Repeat:
	
>Fix:

	

--- patch-import:decode_dv.c begins here ---
--- import/decode_dv.c.orig	Sun Aug  8 22:03:19 2004
+++ import/decode_dv.c	Sun Aug  8 22:03:43 2004
@@ -37,8 +37,8 @@
 #include "transcode.h"
 #include "ioaux.h"
 
-#define DV_PAL_SIZE    frame_size_625_50
-#define DV_NTSC_SIZE   frame_size_525_60
+#define DV_PAL_SIZE    (12 * 150 * 80)
+#define DV_NTSC_SIZE   (10 * 150 * 80)
 #define DV_HEADER_SIZE header_size
 
 static int verbose=TC_QUIET;
--- patch-import:decode_dv.c ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408082011.i78KB8pi019077>