From 227caf1fe7b6a3dde7104b63c7df82ee5a1e85a3 Mon Sep 17 00:00:00 2001 From: Richard Boulton Date: Fri, 1 Mar 2002 15:37:57 +0000 Subject: [PATCH] Set the leaky parameter to 1 when using visualisers; if the queue gets full, it is fine to drop data going to the vis... Original commit message from CVS: Set the leaky parameter to 1 when using visualisers; if the queue gets full, it is fine to drop data going to the visualiser. This solves the problem I was having with playback freezing while playing some files with visualisers. --- tools/gst-launch-ext | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/gst-launch-ext b/tools/gst-launch-ext index 64ddef2..d1808e0 100755 --- a/tools/gst-launch-ext +++ b/tools/gst-launch-ext @@ -81,14 +81,14 @@ read_config (); %pipes = ( "mp3", "mad ! $cfg{AUDIOSINK}", - "vis.mp3", "mad ! tee silent=true 'tee0.src0!' queue ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } 'tee0.src1!' $cfg{AUDIOSINK}", + "vis.mp3", "mad ! tee silent=true 'tee1.src0!' queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } 'tee1.src1!' $cfg{AUDIOSINK}", "ogg", "vorbisdec ! $cfg{AUDIOSINK}", - "vis.ogg", "vorbisdec ! tee silent=true 'tee0.src0!' queue ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } 'tee0.src1!' $cfg{AUDIOSINK}", + "vis.ogg", "vorbisdec ! tee silent=true 'tee1.src0!' queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } 'tee1.src1!' $cfg{AUDIOSINK}", "mpg", "mpegdemux video_00! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } mpegdemux0.audio_00! { queue ! mad ! $cfg{AUDIOSINK} }", "avi", "avidemux video_00! { queue ! windec ! $cfg{VIDEOSINK} } avidemux0.audio_00! { queue ! mad ! $cfg{AUDIOSINK} }", "vob", "mpegdemux video_00! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } mpegdemux0.audio_00! { queue ! a52dec ! $cfg{AUDIOSINK} }", "wav", "wavparse ! $cfg{AUDIOSINK}", - "vis.wav", "wavparse ! tee silent=true 'tee0.src0!' queue ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } 'tee0.src1!' $cfg{AUDIOSINK}", + "vis.wav", "wavparse ! tee silent=true 'tee1.src0!' queue leaky=1 ! { $cfg{VISUALIZER} ! colorspace ! $cfg{VIDEOSINK} } 'tee1.src1!' $cfg{AUDIOSINK}", "fli", "flxdec ! colorspace ! $cfg{VIDEOSINK}" ); -- 2.7.4