aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar ivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-15 20:06:31 +0000
committerGravatar ivo <ivo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-15 20:06:31 +0000
commit0242e630f9029dd4b6f39b576b49c7b1abcc973c (patch)
treebdc7347aded15fb8450bebbbb8130ffa822d71df
parentf503cce42817041b22f3d720b6f74f5ee46f30c1 (diff)
display correct audio bitrate, samplerate and number of channels once
they are known for mplayer -identify git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19409 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/dec_audio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c
index 2916fe739c..9bdb0732b2 100644
--- a/libmpcodecs/dec_audio.c
+++ b/libmpcodecs/dec_audio.c
@@ -112,6 +112,9 @@ int init_audio_codec(sh_audio_t *sh_audio)
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;