mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
audiodecoder: no fallback to segment start for reverse playback
See https://bugzilla.gnome.org/show_bug.cgi?id=709965
This commit is contained in:
parent
4a81e22607
commit
6e639b73ff
1 changed files with 2 additions and 1 deletions
|
@ -1102,7 +1102,8 @@ gst_audio_decoder_finish_frame (GstAudioDecoder * dec, GstBuffer * buf,
|
|||
}
|
||||
|
||||
/* still no valid ts, track the segment one */
|
||||
if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (priv->base_ts))) {
|
||||
if (G_UNLIKELY (!GST_CLOCK_TIME_IS_VALID (priv->base_ts)) &&
|
||||
dec->output_segment.rate > 0.0) {
|
||||
priv->base_ts = dec->output_segment.start;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue