Mercurial > mplayer.hg
diff libmpdemux/demux_lavf.c @ 23010:74efb0fa8a0b
with -identify show audio and video id; patch by Andrew Savchenko (Bircoph list ru)
author | nicodvb |
---|---|
date | Fri, 20 Apr 2007 21:49:49 +0000 |
parents | a76748e71a18 |
children | 6a40ec31cfa7 |
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c Fri Apr 20 18:57:09 2007 +0000 +++ b/libmpdemux/demux_lavf.c Fri Apr 20 21:49:49 2007 +0000 @@ -23,7 +23,7 @@ #include "config.h" #include "mp_msg.h" -// #include "help_mp.h" +#include "help_mp.h" #include "stream/stream.h" #include "demuxer.h" @@ -305,6 +305,7 @@ if(priv->audio_streams >= MAX_A_STREAMS) break; sh_audio=new_sh_audio(demuxer, i); + mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_AudioID, "lavf", i); if(!sh_audio) break; priv->astreams[priv->audio_streams] = i; @@ -379,6 +380,7 @@ if(priv->video_streams >= MAX_V_STREAMS) break; sh_video=new_sh_video(demuxer, i); + mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "lavf", i); if(!sh_video) break; priv->vstreams[priv->video_streams] = i; priv->video_streams++;