summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Boulton <richard@tartarus.org>2002-03-01 15:37:57 +0000
committerRichard Boulton <richard@tartarus.org>2002-03-01 15:37:57 +0000
commit227caf1fe7b6a3dde7104b63c7df82ee5a1e85a3 (patch)
tree6042897d17df286305862484267b68bc453a26bf
parent9f9dd5552d802ed980694fdcb483b8a3d3c5f4e7 (diff)
downloadgstreamer-plugins-good-227caf1fe7b6a3dde7104b63c7df82ee5a1e85a3.tar.gz
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.
-rwxr-xr-xtools/gst-launch-ext6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gst-launch-ext b/tools/gst-launch-ext
index 64ddef2be..d1808e01b 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}"
);