diff --git a/tools/gst-launch-ext-m.m b/tools/gst-launch-ext-m.m index 4f2ae371db..e7b92a9b9d 100644 --- a/tools/gst-launch-ext-m.m +++ b/tools/gst-launch-ext-m.m @@ -103,8 +103,8 @@ read_config ($0); %pipes = ( "ac3", "a52dec ! $cfg{AUDIOSINK}", "au", "auparse ! $cfg{AUDIOSINK}", - "avi", "avidemux name=demux ! { demux.video_00 ! queue ! spider ! ffmpegcolorspace ! $cfg{VIDEOSINK} } { demux.audio_00 ! queue ! spider ! $cfg{AUDIOSINK} }", - "asf", "asfdemux name=demux ! { demux.video_00 ! queue ! spider ! ffmpegcolorspace ! $cfg{VIDEOSINK} } { demux.audio_00 ! queue ! spider ! $cfg{AUDIOSINK} }", + "avi", "decodebin name=demux ! { demux.video_00 ! queue ! ! ffmpegcolorspace ! $cfg{VIDEOSINK} } { demux.audio_00 ! queue ! ! $cfg{AUDIOSINK} }", + "asf", "decodebin name=demux ! { demux.video_00 ! queue ! ffmpegcolorspace ! $cfg{VIDEOSINK} } { demux.audio_00 ! queue ! audioconvert ! audioscale ! $cfg{AUDIOSINK} }", "flac", "flacdec ! $cfg{AUDIOSINK}", "fli", "flxdec ! colorspace ! $cfg{VIDEOSINK}", "m1v", "mpegdemux ! { queue ! mpeg2dec ! $cfg{VIDEOSINK} }",