Commit 551182df authored by Song Bing's avatar Song Bing

v4l2videodec: Fix drain() function return type

Return right type for drain() function.
parent f6b91fe3
Pipeline #42251 failed with stages
in 49 minutes and 16 seconds
......@@ -424,7 +424,7 @@ done:
return ret;
static gboolean
static GstFlowReturn
gst_v4l2_video_dec_drain (GstVideoDecoder * 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_flush (decoder);
return TRUE;
return GST_FLOW_OK;
static GstVideoCodecFrame *
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment