v4l2videodec: Fix drain() function return type
Return right type for drain() function.
This commit is contained in:
parent
ab6e49e9cc
commit
f49d610ebe
@ -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 *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user