From: Song Bing Date: Wed, 13 Jun 2018 21:55:29 +0000 (-0700) Subject: v4l2videodec: Fix drain() function return type X-Git-Tag: 1.16.2~34 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fupstream%2Fgst-plugins-good.git;a=commitdiff_plain;h=86b781ffd51c34b61383a68ad8ea1983ad679208 v4l2videodec: Fix drain() function return type Return right type for drain() function. --- diff --git a/sys/v4l2/gstv4l2videodec.c b/sys/v4l2/gstv4l2videodec.c index 6338884..d408130 100644 --- a/sys/v4l2/gstv4l2videodec.c +++ b/sys/v4l2/gstv4l2videodec.c @@ -417,7 +417,7 @@ done: return ret; } -static gboolean +static GstFlowReturn gst_v4l2_video_dec_drain (GstVideoDecoder * decoder) { GstV4l2VideoDec *self = GST_V4L2_VIDEO_DEC (decoder); @@ -426,7 +426,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 *