vp8dec: propagate downstream flow return to upstream

This commit is contained in:
Mark Nauwelaerts 2011-04-01 22:13:00 +02:00
parent 9b6e819247
commit 772d92eeba

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