streamsynchronizer: Also propagate return value of pushing GAP event upstream
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 23 Oct 2012 16:16:26 +0000 (18:16 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 23 Oct 2012 16:21:32 +0000 (18:21 +0200)
gst/playback/gststreamsynchronizer.c

index 262f84f..7ece3d6 100644 (file)
@@ -457,7 +457,7 @@ gst_stream_synchronizer_sink_event (GstPad * pad, GstObject * parent,
           GstEvent *gap_event;
 
           gap_event = gst_event_new_gap (0, 0);
-          gst_pad_push_event (srcpad, gap_event);
+          ret = gst_pad_push_event (srcpad, gap_event);
         }
         ret = TRUE;
       }