Revert "tools: gst-launch: return non-0 exit code on async error"
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Fri, 4 Dec 2015 15:45:25 +0000 (10:45 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Fri, 4 Dec 2015 15:45:44 +0000 (10:45 -0500)
This reverts commit 2ee4cba2485d7f1646d48e4559426aed4ba99c85.

tools/gst-launch.c

index d608271..a522a5b 100644 (file)
@@ -1172,8 +1172,6 @@ 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);