ports/70187: maintainer-patch: multimedia/transcode (unbreak WITH_LIBDV)
Hendrik Scholz
hendrik at scholz.net
Sun Aug 8 20:20:13 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list