v4l2videodec: Fix drain() function return type

Return right type for drain() function.
This commit is contained in:
Song Bing 2018-06-13 14:55:29 -07:00 committed by Nicolas Dufresne
parent ab6e49e9cc
commit f49d610ebe

View File

@ -424,7 +424,7 @@ done:
return ret; return ret;
} }
static gboolean static GstFlowReturn
gst_v4l2_video_dec_drain (GstVideoDecoder * decoder) gst_v4l2_video_dec_drain (GstVideoDecoder * decoder)
{ {
GstV4l2VideoDec *self = GST_V4L2_VIDEO_DEC (decoder); GstV4l2VideoDec *self = GST_V4L2_VIDEO_DEC (decoder);
@ -433,7 +433,7 @@ gst_v4l2_video_dec_drain (GstVideoDecoder * decoder)
gst_v4l2_video_dec_finish (decoder); gst_v4l2_video_dec_finish (decoder);
gst_v4l2_video_dec_flush (decoder); gst_v4l2_video_dec_flush (decoder);
return TRUE; return GST_FLOW_OK;
} }
static GstVideoCodecFrame * static GstVideoCodecFrame *