[vlc-commits] Print codec_id on unsupported track in avformat demuxer.

Laurent Aimar git at videolan.org
Mon Sep 5 21:24:13 CEST 2011


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Sep  5 21:23:41 2011 +0200| [b6892c3888d692c612b072e1d94d4c27b02f3afa] | committer: Laurent Aimar

Print codec_id on unsupported track in avformat demuxer.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b6892c3888d692c612b072e1d94d4c27b02f3afa
---

 modules/demux/avformat/demux.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index d3209ad..f8696c9 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -379,7 +379,7 @@ int OpenDemux( vlc_object_t *p_this )
                 if( cc->codec_type == AVMEDIA_TYPE_DATA )
                     psz_type = "data";
 
-                msg_Warn( p_demux, "unsupported track type (%u) in avformat demux", cc->codec_type );
+                msg_Warn( p_demux, "unsupported track type (%u:%u) in avformat demux", cc->codec_type, cc->codec_id );
             }
             break;
         }



More information about the vlc-commits mailing list