hlsdemux: log fragment timestamp
authorArnaud Vrac <avrac@freebox.fr>
Mon, 29 Jul 2013 16:00:31 +0000 (18:00 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 12 Feb 2014 13:39:15 +0000 (14:39 +0100)
ext/hls/gsthlsdemux.c

index 4e06960..a7bcf3d 100644 (file)
@@ -1449,6 +1449,9 @@ gst_hls_demux_get_next_fragment (GstHLSDemux * demux, gboolean caching,
 
   buf = gst_fragment_get_buffer (download);
 
+  GST_DEBUG_OBJECT (demux, "set fragment pts=%" GST_TIME_FORMAT " duration=%"
+      GST_TIME_FORMAT, GST_TIME_ARGS (timestamp), GST_TIME_ARGS (duration));
+
   GST_BUFFER_DURATION (buf) = duration;
   GST_BUFFER_PTS (buf) = timestamp;