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

ivo subversion at mplayerhq.hu
Tue Aug 15 22:06:32 CEST 2006


Author: ivo
Date: Tue Aug 15 22:06:31 2006
New Revision: 19409

Modified:
   trunk/libmpcodecs/dec_audio.c

Log:
display correct audio bitrate, samplerate and number of channels once
they are known for mplayer -identify



Modified: trunk/libmpcodecs/dec_audio.c
==============================================================================
--- trunk/libmpcodecs/dec_audio.c	(original)
+++ trunk/libmpcodecs/dec_audio.c	Tue Aug 15 22:06:31 2006
@@ -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;



More information about the MPlayer-cvslog mailing list