diff options
author | Edward Hervey <bilboed@bilboed.com> | 2014-12-09 09:58:03 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2015-01-21 08:47:48 +0100 |
commit | ca22a8e87f8802da9a0824cdd314cfbd824b3743 (patch) | |
tree | cfc3fac6f6fee899b505ad623142c9c853140513 /gst/mpegdemux | |
parent | 9ebbce381a7d7c8477387029832f3992f4613feb (diff) | |
download | gstreamer-plugins-bad-ca22a8e87f8802da9a0824cdd314cfbd824b3743.tar.gz |
mpegdemux: minor debug update
Only show PTS/DTS when they are valid, and include the stream id
Diffstat (limited to 'gst/mpegdemux')
-rw-r--r-- | gst/mpegdemux/gstmpegdemux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/mpegdemux/gstmpegdemux.c b/gst/mpegdemux/gstmpegdemux.c index c05a59db6..69ca8e1f9 100644 --- a/gst/mpegdemux/gstmpegdemux.c +++ b/gst/mpegdemux/gstmpegdemux.c @@ -2241,18 +2241,18 @@ gst_ps_demux_data_cb (GstPESFilter * filter, gboolean first, } if (filter->pts != -1) { demux->next_pts = filter->pts + demux->scr_adjust; - GST_LOG_OBJECT (demux, "PTS = %" G_GUINT64_FORMAT - "(%" G_GUINT64_FORMAT ")", filter->pts, demux->next_pts); + GST_LOG_OBJECT (demux, "stream 0x%02x PTS = orig %" G_GUINT64_FORMAT + " (%" G_GUINT64_FORMAT ")", id, filter->pts, demux->next_pts); } else demux->next_pts = G_MAXUINT64; if (filter->dts != -1) { demux->next_dts = filter->dts + demux->scr_adjust; + GST_LOG_OBJECT (demux, "stream 0x%02x DTS = orig %" G_GUINT64_FORMAT + " (%" G_GUINT64_FORMAT ")", id, filter->dts, demux->next_dts); } else { demux->next_dts = demux->next_pts; } - GST_LOG_OBJECT (demux, "DTS = orig %" G_GUINT64_FORMAT - " (%" G_GUINT64_FORMAT ")", filter->dts, demux->next_dts); demux->current_stream = gst_ps_demux_get_stream (demux, id, stream_type); } |