diff options
author | elric <elric> | 2001-08-30 22:56:05 +0000 |
---|---|---|
committer | elric <elric> | 2001-08-30 22:56:05 +0000 |
commit | c509db492a9e5845e52e1a5e2580cb05cffa87bd (patch) | |
tree | ee01f8a8002fea5cbb1a55f1e22198c980e73e93 /graphics/dvdview | |
parent | 5f077d014424bf37eb111d1fbbca97496da457ba (diff) | |
download | pkgsrc-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-ad | 12 |
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; + } + |