changeset 20087:3996919d4aa8

print bits/s, not bytes/s
author ivo
date Fri, 06 Oct 2006 21:56:15 +0000
parents 94c1edffdf2f
children 36436a54bc4f
files libmpcodecs/dec_audio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/dec_audio.c	Fri Oct 06 19:06:59 2006 +0000
+++ b/libmpcodecs/dec_audio.c	Fri Oct 06 21:56:15 2006 +0000
@@ -113,7 +113,7 @@
 	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,
+    "ID_AUDIO_NCH=%d\n", sh_audio->i_bps*8, sh_audio->samplerate,
     sh_audio->channels );
 
   sh_audio->a_out_buffer_size=sh_audio->a_buffer_size;