mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
v4l2videodec: Fix drain() function return type
Return right type for drain() function.
This commit is contained in:
parent
ab6e49e9cc
commit
f49d610ebe
1 changed files with 2 additions and 2 deletions
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue