[vlc-commits] avformat: add codec ID in debug info

Rémi Denis-Courmont git at videolan.org
Thu Jul 11 13:12:33 CEST 2013


vlc/vlc-2.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jul 10 19:37:09 2013 +0300| [e94f02b8b61ef089ac194c65e5c8dfe51935b212] | committer: Jean-Baptiste Kempf

avformat: add codec ID in debug info

(cherry picked from commit 843839129dc95b170e3f95a0d63edea4873d66be)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c
index d2e17cf..016c5be 100644
--- a/modules/demux/avformat/demux.c
+++ b/modules/demux/avformat/demux.c
@@ -495,8 +495,8 @@ int OpenDemux( vlc_object_t *p_this )
                 es_out_Control( p_demux->out, ES_OUT_SET_ES_DEFAULT, es );
             es_format_Clean( &fmt );
 
-            msg_Dbg( p_demux, "adding es: %s codec = %4.4s",
-                     psz_type, (char*)&fcc );
+            msg_Dbg( p_demux, "adding es: %s codec = %4.4s (%d)",
+                     psz_type, (char*)&fcc, cc->codec_id  );
             TAB_APPEND( p_sys->i_tk, p_sys->tk, es );
         }
     }



More information about the vlc-commits mailing list