projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
865473b
)
tools: gst-launch: return non-0 exit code on async error
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 4 Dec 2015 15:09:39 +0000
(15:09 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 4 Dec 2015 15:09:39 +0000
(15:09 +0000)
When an error happens in playing state, still return a
non-0 exit code.
https://bugzilla.gnome.org/show_bug.cgi?id=759019
tools/gst-launch.c
patch
|
blob
|
history
diff --git
a/tools/gst-launch.c
b/tools/gst-launch.c
index a522a5b4b379334bb71477e7d7d44b0f2a5852c5..d608271790adf9121352bcba38158f5505af9d82 100644
(file)
--- a/
tools/gst-launch.c
+++ b/
tools/gst-launch.c
@@
-1172,6
+1172,8
@@
main (int argc, char *argv[])
gst_element_set_state (pipeline, GST_STATE_READY);
gst_element_get_state (pipeline, &state, &pending, GST_CLOCK_TIME_NONE);
+ res = caught_error;
+
#if 0
if (check_index) {
print_index_stats (index_stats);