mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
parent
9dcb626e3a
commit
6e8e3910d3
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue