Revert "videodecoder: flush decoder in transition PAUSED->READY"
This reverts commit 6e9edc3031935ce8d6640d9774a7c093d20d4366.
This commit is contained in:
parent
06aba17d19
commit
a81b5a95ba
@ -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…
x
Reference in New Issue
Block a user