Mercurial > mplayer.hg
changeset 14814:f022294269a8
more verbose message
author | alex |
---|---|
date | Fri, 25 Feb 2005 10:21:14 +0000 |
parents | 39f93fbc52dc |
children | 56fb33e23ad4 |
files | libmpcodecs/dec_audio.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c Fri Feb 25 10:17:32 2005 +0000 +++ b/libmpcodecs/dec_audio.c Fri Feb 25 10:21:14 2005 +0000 @@ -96,10 +96,11 @@ if(!sh_audio->o_bps) sh_audio->o_bps=sh_audio->channels*sh_audio->samplerate*sh_audio->samplesize; - mp_msg(MSGT_DECAUDIO,MSGL_INFO,"AUDIO: %d Hz, %d ch, %d bit (0x%X), ratio: %d->%d (%3.1f kbit)\n", + mp_msg(MSGT_DECAUDIO,MSGL_INFO,"AUDIO: %d Hz, %d ch, %s, %3.1f kbit/%3.2f%% (ratio: %d->%d)\n", sh_audio->samplerate,sh_audio->channels, - sh_audio->samplesize*8,sh_audio->sample_format, - sh_audio->i_bps,sh_audio->o_bps,sh_audio->i_bps*8*0.001); + 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); sh_audio->a_out_buffer_size=sh_audio->a_buffer_size; sh_audio->a_out_buffer=sh_audio->a_buffer;