diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-20 21:49:49 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-04-20 21:49:49 +0000 |
commit | dfd0190a6df68a8c595da032df6c9e38a3164afd (patch) | |
tree | 62599b5231cb5694203bbcf9860bbd7435c0e1c0 /libmpdemux/aviheader.c | |
parent | 3b97b07397ce9213adca9d0819a5a01648201369 (diff) | |
download | mpv-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/aviheader.c')
-rw-r--r-- | libmpdemux/aviheader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/aviheader.c b/libmpdemux/aviheader.c index 29a711b6e6..63d99dcd35 100644 --- a/libmpdemux/aviheader.c +++ b/libmpdemux/aviheader.c @@ -192,11 +192,13 @@ while(1){ ++stream_id; if(h.fccType==streamtypeVIDEO){ sh_video=new_sh_video(demuxer,stream_id); + mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_VideoID, "aviheader", stream_id); memcpy(&sh_video->video,&h,sizeof(h)); sh_video->stream_delay = (float)sh_video->video.dwStart * sh_video->video.dwScale/sh_video->video.dwRate; } else if(h.fccType==streamtypeAUDIO){ sh_audio=new_sh_audio(demuxer,stream_id); + mp_msg(MSGT_DEMUX, MSGL_INFO, MSGTR_AudioID, "aviheader", stream_id); memcpy(&sh_audio->audio,&h,sizeof(h)); sh_audio->stream_delay = (float)sh_audio->audio.dwStart * sh_audio->audio.dwScale/sh_audio->audio.dwRate; } |