mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 04:56:24 +00:00
hlsdemux: set timestamp on discont buffers
Make sure discont buffers have its timestamp set to allow downstream to resync if needed
This commit is contained in:
parent
e8a3973b8f
commit
87f8d7890c
1 changed files with 1 additions and 1 deletions
|
@ -720,7 +720,7 @@ gst_hls_demux_update_fragment_info (GstAdaptiveDemuxStream * stream)
|
|||
}
|
||||
|
||||
/* set up our source for download */
|
||||
if (hlsdemux->reset_pts) {
|
||||
if (hlsdemux->reset_pts || discont) {
|
||||
stream->fragment.timestamp = timestamp;
|
||||
} else {
|
||||
stream->fragment.timestamp = GST_CLOCK_TIME_NONE;
|
||||
|
|
Loading…
Reference in a new issue