summaryrefslogtreecommitdiff
path: root/sys/vdpau
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2010-09-06 17:42:15 +0200
committerCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2011-03-27 19:48:20 +0200
commitd60c67b2c2711217bfc7299dfd1bb9c3c40545b6 (patch)
treeea361dc458f98f8cb12ae4ad37f6ee1fb81d7e5c /sys/vdpau
parentf09f27a761d793db7903040eabb10b429260cea5 (diff)
downloadgstreamer-plugins-bad-d60c67b2c2711217bfc7299dfd1bb9c3c40545b6.tar.gz
vdpaumpegdec: don't ignore return value of gst_base_video_decoder_finish_frame
Diffstat (limited to 'sys/vdpau')
-rw-r--r--sys/vdpau/mpeg/gstvdpmpegdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vdpau/mpeg/gstvdpmpegdec.c b/sys/vdpau/mpeg/gstvdpmpegdec.c
index 3263e6ec7..acb7bfce6 100644
--- a/sys/vdpau/mpeg/gstvdpmpegdec.c
+++ b/sys/vdpau/mpeg/gstvdpmpegdec.c
@@ -384,13 +384,13 @@ gst_vdp_mpeg_dec_handle_frame (GstBaseVideoDecoder * base_video_decoder,
frame->src_buffer = GST_BUFFER_CAST (outbuf);
if (info->picture_coding_type == B_FRAME) {
- gst_base_video_decoder_finish_frame (base_video_decoder, frame);
+ ret = gst_base_video_decoder_finish_frame (base_video_decoder, frame);
} else {
info->backward_reference = GST_VDP_VIDEO_BUFFER (outbuf)->surface;
mpeg_dec->b_frame = gst_video_frame_ref (frame);
}
- return GST_FLOW_OK;
+ return ret;
}
static GstVideoFrame *