diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-14 16:57:52 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-14 16:57:52 +0000 |
commit | 864811be2cfb58bc906ab167cd7266c30b5c39c5 (patch) | |
tree | 918f2c37bf0fd789e8608147df3006cc34529592 | |
parent | 285eb0f1ca3bcb88149a1c80aee8a2b0f8759076 (diff) |
Print audio 4cc for every stream, print 4cc of selected audio track
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17389 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/demux_real.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libmpdemux/demux_real.c b/libmpdemux/demux_real.c index 87853e7b29..e06cea5a98 100644 --- a/libmpdemux/demux_real.c +++ b/libmpdemux/demux_real.c @@ -2,6 +2,7 @@ Real parser & demuxer (C) Alex Beregszaszi + (C) 2005, 2006 Roberto Togni Based on FFmpeg's libav/rm.c. @@ -1444,6 +1445,7 @@ static demuxer_t* demux_open_real(demuxer_t* demuxer) sh->wf->wFormatTag = sh->format; + mp_msg(MSGT_DEMUX,MSGL_V,"audio fourcc: %.4s (%x)\n", (char *)&sh->format, sh->format); if (verbose > 0) print_wave_header(sh->wf); @@ -1794,6 +1796,12 @@ header_end: sh->disp_w,sh->disp_h,sh->aspect,sh->fps); } + if(demuxer->audio->sh){ + sh_audio_t *sh=demuxer->audio->sh; + mp_msg(MSGT_DEMUX,MSGL_V,"AUDIO: %.4s [%08X]\n", + &sh->format,&sh->format); + } + return demuxer; } |