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
commita5a27736ee937ba0c90d7ba59d93cc4edf5ddc6d (patch)
tree96f7752b208234b63c8f49a494289d810ddb6d32
parentb2ebda6223a1c288f44d2af877d0327e94f04d39 (diff)
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}"
);