mirror of https://github.com/mpv-player/mpv
display correct audio bitrate, samplerate and number of channels once
they are known for mplayer -identify git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19409 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f503cce428
commit
0242e630f9
|
@ -112,6 +112,9 @@ int init_audio_codec(sh_audio_t *sh_audio)
|
|||
af_fmt2str_short(sh_audio->sample_format),
|
||||
sh_audio->i_bps*8*0.001,((float)sh_audio->i_bps/sh_audio->o_bps)*100.0,
|
||||
sh_audio->i_bps,sh_audio->o_bps);
|
||||
mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_AUDIO_BITRATE=%d\nID_AUDIO_RATE=%d\n"
|
||||
"ID_AUDIO_NCH=%d\n", sh_audio->i_bps, sh_audio->samplerate,
|
||||
sh_audio->channels );
|
||||
|
||||
sh_audio->a_out_buffer_size=sh_audio->a_buffer_size;
|
||||
sh_audio->a_out_buffer=sh_audio->a_buffer;
|
||||
|
|
Loading…
Reference in New Issue