summaryrefslogtreecommitdiff
path: root/graphics/dvdview
diff options
context:
space:
mode:
authorelric <elric>2001-08-30 22:56:05 +0000
committerelric <elric>2001-08-30 22:56:05 +0000
commitc509db492a9e5845e52e1a5e2580cb05cffa87bd (patch)
treeee01f8a8002fea5cbb1a55f1e22198c980e73e93 /graphics/dvdview
parent5f077d014424bf37eb111d1fbbca97496da457ba (diff)
downloadpkgsrc-c509db492a9e5845e52e1a5e2580cb05cffa87bd.tar.gz
Added a quick patch to fflush(3) the audio output, this generally helps
keep audio in better sync when you `dvdview -A foo.mpg | mpg123 /dev/stdin'
Diffstat (limited to 'graphics/dvdview')
-rw-r--r--graphics/dvdview/patches/patch-ad12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphics/dvdview/patches/patch-ad b/graphics/dvdview/patches/patch-ad
new file mode 100644
index 00000000000..e16da6994ec
--- /dev/null
+++ b/graphics/dvdview/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1 2001/08/30 22:56:05 elric Exp $
+
+--- src/main.cc.orig Wed Oct 4 12:07:09 2000
++++ src/main.cc Fri May 18 19:43:20 2001
+@@ -211,6 +211,7 @@
+ {
+ SysPacket_Packet* pck = audio_extractor.GetNextPacket();
+ fwrite(pck->data.AskContents(),pck->data.AskLength(),1,stdout);
++ fflush(stdout);
+ delete pck;
+ }
+