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

This commit is contained in:
Sebastian Dröge 2011-11-17 10:33:42 -08:00
parent fefa1df8b9
commit 022cdfc5d3

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) {
if (!base_video_encoder_class->start (base_video_encoder))