mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
hlsdemux: Unset DTS of all buffers
We won't get a valid DTS from the source.
This commit is contained in:
parent
cad284e843
commit
6039734f3e
1 changed files with 1 additions and 0 deletions
|
@ -1502,6 +1502,7 @@ gst_hls_demux_get_next_fragment (GstHLSDemux * demux,
|
||||||
|
|
||||||
GST_BUFFER_DURATION (buf) = duration;
|
GST_BUFFER_DURATION (buf) = duration;
|
||||||
GST_BUFFER_PTS (buf) = timestamp;
|
GST_BUFFER_PTS (buf) = timestamp;
|
||||||
|
GST_BUFFER_DTS (buf) = GST_CLOCK_TIME_NONE;
|
||||||
|
|
||||||
/* We actually need to do this every time we switch bitrate */
|
/* We actually need to do this every time we switch bitrate */
|
||||||
if (G_UNLIKELY (demux->do_typefind)) {
|
if (G_UNLIKELY (demux->do_typefind)) {
|
||||||
|
|
Loading…
Reference in a new issue