[MPlayer-cvslog] r20093 - trunk/libmpcodecs/dec_audio.c

ivo subversion at mplayerhq.hu
Fri Oct 6 23:56:15 CEST 2006


Author: ivo
Date: Fri Oct  6 23:56:15 2006
New Revision: 20093

Modified:
   trunk/libmpcodecs/dec_audio.c

Log:
print bits/s, not bytes/s



Modified: trunk/libmpcodecs/dec_audio.c
==============================================================================
--- trunk/libmpcodecs/dec_audio.c	(original)
+++ trunk/libmpcodecs/dec_audio.c	Fri Oct  6 23:56:15 2006
@@ -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;



More information about the MPlayer-cvslog mailing list