avformat/mpegts: also print PMT version in av_dlog()
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Nov 2014 00:18:39 +0000 (01:18 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 4 Nov 2014 00:18:39 +0000 (01:18 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpegts.c

index 45e0719..97e07a7 100644 (file)
@@ -1798,8 +1798,8 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
     if (parse_section_header(h, &p, p_end) < 0)
         return;
 
-    av_dlog(ts->stream, "sid=0x%x sec_num=%d/%d\n",
-            h->id, h->sec_num, h->last_sec_num);
+    av_dlog(ts->stream, "sid=0x%x sec_num=%d/%d version=%d\n",
+            h->id, h->sec_num, h->last_sec_num, h->version);
 
     if (h->tid != PMT_TID)
         return;