summaryrefslogtreecommitdiff
path: root/libavformat/mpegts.c
diff options
context:
space:
mode:
authorAman Gupta <aman@tmm1.net>2016-06-14 11:08:53 -0700
committerMichael Niedermayer <michael@niedermayer.cc>2016-06-14 21:34:23 +0200
commite9391ab121f926d8b2648798048f4653393ec722 (patch)
tree7c202936a929a5192f347630a7a40fbd327260f3 /libavformat/mpegts.c
parentfa0097e008a145ea8324879d4e24c1881bb86279 (diff)
avformat/mpegts: enhance logging in trace mode
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r--libavformat/mpegts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 4d1bc6d427..6acb797cc1 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -446,7 +446,7 @@ static MpegTSFilter *mpegts_open_filter(MpegTSContext *ts, unsigned int pid,
{
MpegTSFilter *filter;
- av_log(ts->stream, AV_LOG_TRACE, "Filter: pid=0x%x\n", pid);
+ av_log(ts->stream, AV_LOG_TRACE, "Filter: pid=0x%x type=%d\n", pid, type);
if (pid >= NB_PID_MAX || ts->pids[pid])
return NULL;
@@ -1890,8 +1890,8 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
if (skip_identical(h, tssf))
return;
- av_log(ts->stream, AV_LOG_TRACE, "sid=0x%x sec_num=%d/%d version=%d\n",
- h->id, h->sec_num, h->last_sec_num, h->version);
+ av_log(ts->stream, AV_LOG_TRACE, "sid=0x%x sec_num=%d/%d version=%d tid=%d\n",
+ h->id, h->sec_num, h->last_sec_num, h->version, h->tid);
if (h->tid != PMT_TID)
return;