merge from release branch
[platform/upstream/gstreamer.git] / tools / gst-launch-ext
index 12c85ba..ad2e60e 100755 (executable)
@@ -54,6 +54,7 @@ sub read_config
 sub playfile($$)
 {
     my ($file, $ext) = @_;
+    $ext = lc $ext;
 
     my $pipe;
     if ($cfg{VISUALIZER} && ($pipe = $pipes{"vis." . $ext}))
@@ -88,7 +89,7 @@ read_config ();
   "mpg", "mpegdemux video_%02d! { queue ! mpeg2dec ! $cfg{VIDEOSINK} } mpegdemux0.audio_%02d! { queue ! mad ! $cfg{AUDIOSINK} }",
   "ogg", "vorbisdec ! $cfg{AUDIOSINK}",
   "sid", "siddec ! $cfg{AUDIOSINK}",
-  "vob", "mpegdemux name=foo video_%02d! { queue ! mpeg2dec ! $cfg{VIDEOSINK} }  foo.private_stream_1__%02d! { queue ! a52dec ! $cfg{AUDIOSINK} }",
+  "vob", "mpegdemux video_%02d! { queue ! mpeg2dec ! $cfg{VIDEOSINK} }  mpegdemux0.private_stream_1_%02d! { queue ! a52dec ! $cfg{AUDIOSINK} }",
 );
 
 if ($cfg{VISUALIZER}) {