After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 315383 - gst-launch shouldn't run broken pipelines
gst-launch shouldn't run broken pipelines
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: High enhancement
: 0.9.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 111511
 
 
Reported: 2005-09-06 18:05 UTC by Christian Neumair
Modified: 2005-10-05 21:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Neumair 2005-09-06 18:05:24 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.
Comment 1 Christian Neumair 2005-10-05 21:13:26 UTC
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
Comment 2 Tim-Philipp Müller 2005-10-05 21:35:51 UTC
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