mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
Revert "videodecoder: flush decoder in transition PAUSED->READY"
This reverts commit 6e9edc3031
.
This commit is contained in:
parent
06aba17d19
commit
a81b5a95ba
1 changed files with 0 additions and 5 deletions
|
@ -2494,11 +2494,6 @@ gst_video_decoder_change_state (GstElement * element, GstStateChange transition)
|
|||
if (decoder_class->start && !decoder_class->start (decoder))
|
||||
goto start_failed;
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
GST_VIDEO_DECODER_STREAM_LOCK (decoder);
|
||||
gst_video_decoder_flush (decoder, TRUE);
|
||||
GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue