videodecoder: Don't reset decoder on segment events

Either there was a flush before that resets everything anyway,
or resetting would make us lose information we might need if
it's just a segment update.
This commit is contained in:
Sebastian Dröge 2013-08-15 12:45:35 +02:00
parent 146bb1a153
commit 695675ab7e

View file

@ -1105,8 +1105,6 @@ gst_video_decoder_sink_event_default (GstVideoDecoder * decoder,
}
}
gst_video_decoder_flush (decoder, FALSE);
priv->base_timestamp = GST_CLOCK_TIME_NONE;
priv->base_picture_number = 0;