From 76cca6cfee403a23e6e0df6c38ccba8dd40e4424 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 4 Aug 2006 18:40:19 +0000 Subject: 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 --- mplayer.c | 4 ++-- 1 file 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"; -- cgit v1.2.3