Mercurial > mplayer.hg
changeset 17388:002e4923d5ab
Print audio 4cc for every stream, print 4cc of selected audio track
author | rtognimp |
---|---|
date | Sat, 14 Jan 2006 16:57:52 +0000 |
parents | 3fccbde62324 |
children | 566662b701fc |
files | libmpdemux/demux_real.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/demux_real.c Sat Jan 14 16:26:42 2006 +0000 +++ b/libmpdemux/demux_real.c Sat Jan 14 16:57:52 2006 +0000 @@ -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 @@ 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 @@ 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; }