mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +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))
|
||||
goto start_failed;
|
||||
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:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue