[MOVED FROM BAD 074/134] vp8dec: propagate downstream flow return to upstream

This commit is contained in:
Mark Nauwelaerts 2011-04-01 22:13:00 +02:00 committed by Sebastian Dröge
parent e8a200c6a2
commit 28ec65b5a4

View 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);
}