Mercurial > mplayer.hg
changeset 19403:84a34f62918d
display correct audio bitrate, samplerate and number of channels once
they are known for mplayer -identify
author | ivo |
---|---|
date | Tue, 15 Aug 2006 20:06:31 +0000 |
parents | 0b2134ec9adc |
children | bfc483d59e26 |
files | libmpcodecs/dec_audio.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c Tue Aug 15 19:51:57 2006 +0000 +++ b/libmpcodecs/dec_audio.c Tue Aug 15 20:06:31 2006 +0000 @@ -112,6 +112,9 @@ 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;