mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
Revert "videoencoder: flush encoder in transition PAUSED->READY"
This reverts commit 877664a414
.
This commit is contained in:
parent
a81b5a95ba
commit
a240880664
1 changed files with 0 additions and 5 deletions
|
@ -1526,11 +1526,6 @@ gst_video_encoder_change_state (GstElement * element, GstStateChange transition)
|
||||||
if (encoder_class->start && !encoder_class->start (encoder))
|
if (encoder_class->start && !encoder_class->start (encoder))
|
||||||
goto start_failed;
|
goto start_failed;
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
|
||||||
GST_VIDEO_ENCODER_STREAM_LOCK (encoder);
|
|
||||||
gst_video_encoder_flush (encoder);
|
|
||||||
GST_VIDEO_ENCODER_STREAM_UNLOCK (encoder);
|
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue