mirror of
https://github.com/mpv-player/mpv
synced 2025-03-22 11:18:32 +00:00
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
This commit is contained in:
parent
285eb0f1ca
commit
864811be2c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user