videodecoder: actually return the push result in backwards playback
authorThiago Santos <ts.santos@sisa.samsung.com>
Tue, 27 May 2014 00:24:07 +0000 (21:24 -0300)
committerThiago Santos <ts.santos@sisa.samsung.com>
Tue, 27 May 2014 02:24:56 +0000 (23:24 -0300)
It was always returning _OK regardless of what downstream returned

gst-libs/gst/video/gstvideodecoder.c

index 7a45a51..a106763 100644 (file)
@@ -2051,7 +2051,7 @@ gst_video_decoder_chain_reverse (GstVideoDecoder * dec, GstBuffer * buf)
     GST_DEBUG_OBJECT (dec, "received discont");
 
     /* parse and decode stuff in the gather and parse queues */
-    gst_video_decoder_flush_parse (dec, FALSE);
+    result = gst_video_decoder_flush_parse (dec, FALSE);
   }
 
   if (G_LIKELY (buf)) {