[FFmpeg-cvslog] avformat/mpegts: also print PMT version in av_dlog()

Michael Niedermayer git at videolan.org
Tue Nov 4 11:28:42 CET 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov  4 01:18:39 2014 +0100| [3dae05f4f7a8e9b2859acb3b6d8c13316ef318ef] | committer: Michael Niedermayer

avformat/mpegts: also print PMT version in av_dlog()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3dae05f4f7a8e9b2859acb3b6d8c13316ef318ef
---

 libavformat/mpegts.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 45e0719..97e07a7 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -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;



More information about the ffmpeg-cvslog mailing list