[MPlayer-cvslog] r19320 - trunk/mplayer.c

reimar subversion at mplayerhq.hu
Fri Aug 4 20:40:20 CEST 2006


Author: reimar
Date: Fri Aug  4 20:40:19 2006
New Revision: 19320

Modified:
   trunk/mplayer.c

Log:
Move ID_AUDIO_CODEC printing after codec init again (it didn't get printed otherwise).
Thanks to tomber71 in IRC for reporting the problem.


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Fri Aug  4 20:40:19 2006
@@ -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";



More information about the MPlayer-cvslog mailing list