diff options
author | Steve Price <steve@FreeBSD.org> | 2000-09-05 01:36:23 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-09-05 01:36:23 +0000 |
commit | 18d3e9c571b260b7c393c9eb63dc0c3054c107b5 (patch) | |
tree | f1d853293d6530ea084d7e5632235cf263175c0d /graphics/mplex/files/patch-ac | |
parent | Avoids bus errors by closing and re-initializing the device before we (diff) |
Make user interaction a runtime switch instead of a compiletime option.
PR: 20956
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Notes
Notes:
svn path=/head/; revision=32273
Diffstat (limited to 'graphics/mplex/files/patch-ac')
-rw-r--r-- | graphics/mplex/files/patch-ac | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/graphics/mplex/files/patch-ac b/graphics/mplex/files/patch-ac index 71c8be526b9b..92e720da93e8 100644 --- a/graphics/mplex/files/patch-ac +++ b/graphics/mplex/files/patch-ac @@ -1,22 +1,24 @@ ---- inptstrm.c.orig Wed May 31 22:04:11 1995 -+++ inptstrm.c Fri Feb 11 09:52:17 2000 -@@ -310,7 +310,9 @@ +--- inptstrm.c.orig Wed May 31 08:04:11 1995 ++++ inptstrm.c Mon Sep 4 18:17:45 2000 +@@ -1,4 +1,5 @@ + #include "main.h" ++extern int Interactive; + /************************************************************************* + MPEG Streams Kontrolle + +@@ -310,6 +311,7 @@ fclose (info_file); output_info_video (video_info); -+#if 0 ++ if( Interactive ) ask_continue (); -+#endif } - /************************************************************************* -@@ -565,7 +567,9 @@ +@@ -565,6 +567,7 @@ close_bit_stream_r (&audio_bs); fclose (info_file); output_info_audio (audio_info); -+#if 0 ++ if( Interactive ) ask_continue (); -+#endif } - |