mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
v4l2videoenc: fix type conversion errors
This commit is contained in:
parent
46989dca96
commit
1b752c0fa8
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ gst_v4l2_video_enc_handle_frame (GstVideoEncoder * encoder,
|
|||
if (G_UNLIKELY (!g_atomic_int_get (&self->active)))
|
||||
goto flushing;
|
||||
|
||||
task_state = gst_pad_get_task_state (GST_VIDEO_DECODER_SRC_PAD (self));
|
||||
task_state = gst_pad_get_task_state (GST_VIDEO_ENCODER_SRC_PAD (self));
|
||||
if (task_state == GST_TASK_STOPPED || task_state == GST_TASK_PAUSED) {
|
||||
GstBufferPool *pool = GST_BUFFER_POOL (self->v4l2output->pool);
|
||||
|
||||
|
|
Loading…
Reference in a new issue