mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
videodecoder: Reset QoS time after pushing segment
This fixes playbin gapless playback. An ancient QoS time was used and would lead to all frames being dropped. https://bugzilla.gnome.org/show_bug.cgi?id=668995
This commit is contained in:
parent
22981e8a42
commit
604c1bfb4e
1 changed files with 1 additions and 0 deletions
|
@ -845,6 +845,7 @@ gst_video_decoder_push_event (GstVideoDecoder * decoder, GstEvent * event)
|
||||||
decoder->priv->in_out_segment_sync =
|
decoder->priv->in_out_segment_sync =
|
||||||
gst_segment_is_equal (&decoder->input_segment, &segment);
|
gst_segment_is_equal (&decoder->input_segment, &segment);
|
||||||
decoder->priv->last_timestamp_out = GST_CLOCK_TIME_NONE;
|
decoder->priv->last_timestamp_out = GST_CLOCK_TIME_NONE;
|
||||||
|
decoder->priv->earliest_time = GST_CLOCK_TIME_NONE;
|
||||||
GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
|
GST_VIDEO_DECODER_STREAM_UNLOCK (decoder);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue