summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_lavf.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-20 21:49:49 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-04-20 21:49:49 +0000
commitdfd0190a6df68a8c595da032df6c9e38a3164afd (patch)
tree62599b5231cb5694203bbcf9860bbd7435c0e1c0 /libmpdemux/demux_lavf.c
parent3b97b07397ce9213adca9d0819a5a01648201369 (diff)
downloadmpv-dfd0190a6df68a8c595da032df6c9e38a3164afd.tar.bz2
mpv-dfd0190a6df68a8c595da032df6c9e38a3164afd.tar.xz
with -identify show audio and video id; patch by Andrew Savchenko (Bircoph list ru)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23028 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demux_lavf.c')
-rw-r--r--libmpdemux/demux_lavf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libmpdemux/demux_lavf.c b/libmpdemux/demux_lavf.c
index 3cc0a7075f..79084d32c2 100644
--- a/libmpdemux/demux_lavf.c
+++ b/libmpdemux/demux_lavf.c
@@ -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 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
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 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
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++;