GNOME Bugzilla – Bug 315383
gst-launch shouldn't run broken pipelines
Last modified: 2005-10-05 21:35:51 UTC
gst-launch tries to run pipelines with missing elements. I think this might be diserable in some cases, but in most of the cases it isn't. For instance, if you invoke gst-launch-ext or build a pipeline to convert audio files, you usually can't achieve what you want if you lack a pipeline element. With the current behavior, gst-launch won't be used for Nautilus audio file preview (bug 111511), since some distros don't ship MP3 decoder elements and just giving crippled output with no feedback is no good. I think, gst-launch should just fail and return an error message if parts of the pipeline are not existant or can't be setup. We can still provide a "--force" parameter to revert to the former behavior.
23:11:08 <Manny> any opinions on bug http://bugzilla.gnome.org/show_bug.cgi?id=315383 ? 23:11:48 <Manny> thomasvs, what do you think of the proposal to add a --force-broken-pipelines parameter to gst-launch(-ext)? 23:11:57 <__tim> Manny: already fixed in 0.9 :) 23:12:13 <Manny> __tim, cool 23:12:26 <__tim> Manny: no parameter, it just errors out on broken pipelines
This has been fixed in 0.9/CVS HEAD; now gst-launch will error out on pipelines with missing elements or where elements can't be linked for some reason. 2005-10-04 Tim-Philipp Muller <tim at centricular dot net> * tools/gst-launch.c: (main): Don't try to run erroneous pipelines. Cheers -Tim