mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 10:10:32 +00:00
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.
This commit is contained in:
parent
b2ebda6223
commit
a5a27736ee
1 changed files with 3 additions and 3 deletions
|
@ -81,14 +81,14 @@ read_config ();
|
||||||
|
|
||||||
%pipes = (
|
%pipes = (
|
||||||
"mp3", "mad ! $cfg{AUDIOSINK}",
|
"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}",
|
"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} }",
|
"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} }",
|
"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} }",
|
"vob", "mpegdemux video_00! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } mpegdemux0.audio_00! { queue ! a52dec ! $cfg{AUDIOSINK} }",
|
||||||
"wav", "wavparse ! $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}"
|
"fli", "flxdec ! colorspace ! $cfg{VIDEOSINK}"
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue