summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-04 18:40:19 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-04 18:40:19 +0000
commit76cca6cfee403a23e6e0df6c38ccba8dd40e4424 (patch)
treec644c28384a19af038512c487259e4b16fb6fb73 /mplayer.c
parent2d79655938d71025999550912dd3b554cf4a3ca7 (diff)
downloadmpv-76cca6cfee403a23e6e0df6c38ccba8dd40e4424.tar.bz2
mpv-76cca6cfee403a23e6e0df6c38ccba8dd40e4424.tar.xz
Move ID_AUDIO_CODEC printing after codec init again (it didn't get printed otherwise).
Thanks to tomber71 in IRC for reporting the problem. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19320 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mplayer.c b/mplayer.c
index 8b695a5f7e..cf092c7d2a 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -3563,8 +3563,6 @@ if (global_sub_size) {
mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_VIDEO_ASPECT=%1.4f\n", sh_video->aspect);
}
if (sh_audio) {
- if (sh_audio->codec)
- mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_CODEC=%s\n", sh_audio->codec->name);
/* Assume FOURCC if all bytes >= 0x20 (' ') */
if (sh_audio->format >= 0x20202020)
mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_FORMAT=%.4s\n", (char *)&sh_audio->format);
@@ -3733,6 +3731,8 @@ update_osd_msg();
if(sh_audio){
reinit_audio_chain();
+ if (sh_audio->codec)
+ mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_CODEC=%s\n", sh_audio->codec->name);
}
current_module="av_init";