changeset 19314:6f940283e339

Move ID_AUDIO_CODEC printing after codec init again (it didn't get printed otherwise). Thanks to tomber71 in IRC for reporting the problem.
author reimar
date Fri, 04 Aug 2006 18:40:19 +0000
parents 0792ad01e9bf
children 4591b597b62c
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Fri Aug 04 18:32:36 2006 +0000
+++ b/mplayer.c	Fri Aug 04 18:40:19 2006 +0000
@@ -3563,8 +3563,6 @@
     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 @@
 
 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";