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:
9dcb626
)
v4l2videoenc: fix wrong type cast
author
Tim-Philipp Müller
<tim@centricular.com>
Sun, 13 Oct 2019 11:46:58 +0000
(12:46 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sun, 13 Oct 2019 11:46:58 +0000
(12:46 +0100)
Follow-up to commit
1b752c0f
!361
sys/v4l2/gstv4l2videoenc.c
patch
|
blob
|
history
diff --git
a/sys/v4l2/gstv4l2videoenc.c
b/sys/v4l2/gstv4l2videoenc.c
index
973fc7e
..
36e1515
100644
(file)
--- a/
sys/v4l2/gstv4l2videoenc.c
+++ b/
sys/v4l2/gstv4l2videoenc.c
@@
-776,8
+776,7
@@
gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder,
GST_VIDEO_ENCODER_STREAM_LOCK (encoder);
if (ret == GST_FLOW_FLUSHING) {
- if (gst_pad_get_task_state (GST_VIDEO_DECODER_SRC_PAD (self)) !=
- GST_TASK_STARTED)
+ if (gst_pad_get_task_state (encoder->srcpad) != GST_TASK_STARTED)
ret = self->output_flow;
goto drop;
} else if (ret != GST_FLOW_OK) {