hlsdemux: Unset DTS of all buffers
authorSebastian Dröge <sebastian@centricular.com>
Wed, 26 Mar 2014 06:24:16 +0000 (07:24 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sat, 29 Mar 2014 09:33:45 +0000 (10:33 +0100)
We won't get a valid DTS from the source.

ext/hls/gsthlsdemux.c

index eab3657..c5e30c5 100644 (file)
@@ -1502,6 +1502,7 @@ gst_hls_demux_get_next_fragment (GstHLSDemux * demux,
 
   GST_BUFFER_DURATION (buf) = duration;
   GST_BUFFER_PTS (buf) = timestamp;
+  GST_BUFFER_DTS (buf) = GST_CLOCK_TIME_NONE;
 
   /* We actually need to do this every time we switch bitrate */
   if (G_UNLIKELY (demux->do_typefind)) {