summaryrefslogtreecommitdiff
path: root/graphics/dumpmpeg/patches
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-05-17 16:00:52 +0000
committerhubertf <hubertf@pkgsrc.org>2001-05-17 16:00:52 +0000
commit72a3877d506da45ad2c1fe265b51ddf2b7642805 (patch)
treeeaa14ffe2dd5e22a0be5e517e96f5b7b6146cfe2 /graphics/dumpmpeg/patches
parent5448efce075fe0d6cdff2f07a8ae54184d0632f4 (diff)
downloadpkgsrc-72a3877d506da45ad2c1fe265b51ddf2b7642805.tar.gz
Added dumpmpeg-0.6: Splits mpeg stream into single images
dumpmpeg is a program that allows you to dump video frames from MPEG movie files. It uses the SDL MPEG Player Library to accomplish this and thus requires an open X-Window. Since it uses the SMPEG library, it can dump frames from format it supports, which currently is MPEG-1 video files.
Diffstat (limited to 'graphics/dumpmpeg/patches')
-rw-r--r--graphics/dumpmpeg/patches/patch-aa22
1 files changed, 22 insertions, 0 deletions
diff --git a/graphics/dumpmpeg/patches/patch-aa b/graphics/dumpmpeg/patches/patch-aa
new file mode 100644
index 00000000000..aef2d964dfd
--- /dev/null
+++ b/graphics/dumpmpeg/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/05/17 16:00:52 hubertf Exp $
+
+--- dumpmpeg.c.orig Thu May 17 15:52:12 2001
++++ dumpmpeg.c
+@@ -318,14 +318,14 @@
+ #ifdef VCD_SUPPORT
+ /* Check if source is a CDROM device */
+ if((fd = vcd_open(argv[i])) != 0)
+- mpeg = SMPEG_new_descr(fd, &info, 1);
++ mpeg = SMPEG_new_descr(fd, &info, 0); /* we don't need audio! */
+ else
+ #endif
+ {
+ if(strcmp(argv[i], "-") == 0) /* Use stdin for input */
+- mpeg = SMPEG_new_descr(0, &info, 1);
++ mpeg = SMPEG_new_descr(0, &info, 0); /* we don't need audio! */
+ else
+- mpeg = SMPEG_new(argv[i], &info, 1);
++ mpeg = SMPEG_new(argv[i], &info, 0); /* we don't need audio! */
+ }
+
+ if ( SMPEG_error(mpeg) ) {