mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-07 07:55:41 +00:00
gst-launch: Fix process return value on error
In case of a run-time error message, the process return value was left unset. This would lead to error not being caught at shell level. https://bugzilla.gnome.org/show_bug.cgi?id=759019
This commit is contained in:
parent
6f07a3af8c
commit
057fc55835
1 changed files with 1 additions and 0 deletions
|
@ -1111,6 +1111,7 @@ main (int argc, char *argv[])
|
|||
|
||||
tfthen = gst_util_get_timestamp ();
|
||||
caught_error = event_loop (pipeline, TRUE, FALSE, GST_STATE_PLAYING);
|
||||
res = caught_error;
|
||||
if (eos_on_shutdown && caught_error != ELR_NO_ERROR) {
|
||||
gboolean ignore_errors;
|
||||
|
||||
|
|
Loading…
Reference in a new issue