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
@ -720,7 +720,7 @@ gst_hls_demux_update_fragment_info (GstAdaptiveDemuxStream * stream)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* set up our source for download */
|
/* set up our source for download */
|
||||||
if (hlsdemux->reset_pts) {
|
if (hlsdemux->reset_pts || discont) {
|
||||||
stream->fragment.timestamp = timestamp;
|
stream->fragment.timestamp = timestamp;
|
||||||
} else {
|
} else {
|
||||||
stream->fragment.timestamp = GST_CLOCK_TIME_NONE;
|
stream->fragment.timestamp = GST_CLOCK_TIME_NONE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user