mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
Revert "audioencoder: flush encoder in transition PAUSED->READY"
This reverts commit 2dcdd13512
.
This commit is contained in:
parent
b8369ba20d
commit
06aba17d19
1 changed files with 0 additions and 8 deletions
|
@ -530,14 +530,6 @@ gst_audio_encoder_change_state (GstElement * element, GstStateChange transition)
|
|||
if (!klass->open (enc))
|
||||
goto open_failed;
|
||||
}
|
||||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
if (klass->flush) {
|
||||
GST_AUDIO_ENCODER_STREAM_LOCK (enc);
|
||||
klass->flush (enc);
|
||||
GST_AUDIO_ENCODER_STREAM_UNLOCK (enc);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue