gst-launch: exit with an error code when an error occured
authorPhilippe Normand <philn@igalia.com>
Thu, 14 Nov 2013 14:32:59 +0000 (15:32 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 25 Nov 2013 11:12:39 +0000 (12:12 +0100)
commit6e4cab65418bb5b16fe6ae31b3d79e5d535cbff5
tree5f26fe24f430fc0f730498c97f932d1fccba1d0d
parent7a073cdcda5be725da8f763e6445b1b12e4a1339
gst-launch: exit with an error code when an error occured

If the pipeline failed to pre-roll or the user interrupted the
execution then set the exit code to a positive value.

https://bugzilla.gnome.org/show_bug.cgi?id=712300
tools/gst-launch.c