[MOVED FROM BAD 074/134] vp8dec: propagate downstream flow return to upstream
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Fri, 1 Apr 2011 20:13:00 +0000 (22:13 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 16 Sep 2012 13:27:15 +0000 (15:27 +0200)
ext/vp8/gstvp8dec.c

index 76dcc23..0fc9160 100644 (file)
@@ -474,7 +474,7 @@ gst_vp8_dec_handle_frame (GstBaseVideoDecoder * decoder, GstVideoFrame * frame)
 
       if (ret == GST_FLOW_OK) {
         gst_vp8_dec_image_to_buffer (dec, img, frame->src_buffer);
-        gst_base_video_decoder_finish_frame (decoder, frame);
+        ret = gst_base_video_decoder_finish_frame (decoder, frame);
       } else {
         gst_base_video_decoder_finish_frame (decoder, frame);
       }