Revert "audioencoder: flush encoder in transition PAUSED->READY"
This reverts commit 2dcdd13512e788797d03f9990994eecdd339ca0e.
This commit is contained in:
parent
b8369ba20d
commit
06aba17d19
@ -530,14 +530,6 @@ gst_audio_encoder_change_state (GstElement * element, GstStateChange transition)
|
|||||||
if (!klass->open (enc))
|
if (!klass->open (enc))
|
||||||
goto open_failed;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user