mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
hlsdemux: always set timestamp on reverse playback
Downstream needs to be able to restore the timestamps after a discont to do reverse playback https://bugzilla.gnome.org/show_bug.cgi?id=759592
This commit is contained in:
parent
937e249b44
commit
29de588e2f
1 changed files with 1 additions and 1 deletions
|
@ -698,7 +698,7 @@ gst_hls_demux_update_fragment_info (GstAdaptiveDemuxStream * stream)
|
|||
discont = TRUE;
|
||||
|
||||
/* set up our source for download */
|
||||
if (hlsdemux->reset_pts || discont) {
|
||||
if (hlsdemux->reset_pts || discont || stream->demux->segment.rate < 0.0) {
|
||||
stream->fragment.timestamp = timestamp;
|
||||
} else {
|
||||
stream->fragment.timestamp = GST_CLOCK_TIME_NONE;
|
||||
|
|
Loading…
Reference in a new issue