comparison mplayer.c @ 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 64d82a45a05d
children 79b3a37b3b98
comparison
equal deleted inserted replaced
19313:0792ad01e9bf 19314:6f940283e339
3561 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_VIDEO_HEIGHT=%d\n", sh_video->disp_h); 3561 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_VIDEO_HEIGHT=%d\n", sh_video->disp_h);
3562 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_VIDEO_FPS=%5.3f\n", sh_video->fps); 3562 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_VIDEO_FPS=%5.3f\n", sh_video->fps);
3563 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_VIDEO_ASPECT=%1.4f\n", sh_video->aspect); 3563 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_VIDEO_ASPECT=%1.4f\n", sh_video->aspect);
3564 } 3564 }
3565 if (sh_audio) { 3565 if (sh_audio) {
3566 if (sh_audio->codec)
3567 mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_CODEC=%s\n", sh_audio->codec->name);
3568 /* Assume FOURCC if all bytes >= 0x20 (' ') */ 3566 /* Assume FOURCC if all bytes >= 0x20 (' ') */
3569 if (sh_audio->format >= 0x20202020) 3567 if (sh_audio->format >= 0x20202020)
3570 mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_FORMAT=%.4s\n", (char *)&sh_audio->format); 3568 mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_FORMAT=%.4s\n", (char *)&sh_audio->format);
3571 else 3569 else
3572 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_AUDIO_FORMAT=%d\n", sh_audio->format); 3570 mp_msg(MSGT_IDENTIFY,MSGL_INFO,"ID_AUDIO_FORMAT=%d\n", sh_audio->format);
3731 3729
3732 //================ SETUP AUDIO ========================== 3730 //================ SETUP AUDIO ==========================
3733 3731
3734 if(sh_audio){ 3732 if(sh_audio){
3735 reinit_audio_chain(); 3733 reinit_audio_chain();
3734 if (sh_audio->codec)
3735 mp_msg(MSGT_IDENTIFY,MSGL_INFO, "ID_AUDIO_CODEC=%s\n", sh_audio->codec->name);
3736 } 3736 }
3737 3737
3738 current_module="av_init"; 3738 current_module="av_init";
3739 3739
3740 if(sh_video){ 3740 if(sh_video){