basevideoencoder: Only call ::reset once in READY->PAUSED

This commit is contained in:
Sebastian Dröge 2011-11-17 10:34:19 -08:00
parent 7df465bfb3
commit cc50d894af

View file

@ -796,7 +796,6 @@ gst_base_video_encoder_change_state (GstElement * element,
switch (transition) {
case GST_STATE_CHANGE_READY_TO_PAUSED:
gst_base_video_encoder_reset (base_video_encoder);
gst_base_video_encoder_reset (base_video_encoder);
if (base_video_encoder_class->start) {
base_video_encoder_class->start (base_video_encoder);