projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f97aed4
)
v4l2videodec: Fix drain() function return type
author
Song Bing
<bing.song@nxp.com>
Wed, 13 Jun 2018 21:55:29 +0000
(14:55 -0700)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 8 Aug 2019 09:59:41 +0000
(10:59 +0100)
Return right type for drain() function.
sys/v4l2/gstv4l2videodec.c
patch
|
blob
|
history
diff --git
a/sys/v4l2/gstv4l2videodec.c
b/sys/v4l2/gstv4l2videodec.c
index
6338884
..
d408130
100644
(file)
--- a/
sys/v4l2/gstv4l2videodec.c
+++ b/
sys/v4l2/gstv4l2videodec.c
@@
-417,7
+417,7
@@
done:
return ret;
}
-static
gboolea
n
+static
GstFlowRetur
n
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 *