[MPlayer-cvslog] r29970 - trunk/libmpcodecs/ad_ffmpeg.c

attila subversion at mplayerhq.hu
Sat Nov 28 19:01:54 CET 2009


Author: attila
Date: Sat Nov 28 19:01:54 2009
New Revision: 29970

Log:
when using -v, print also which lavc codec has been used, not
just that the init was ok

Modified:
   trunk/libmpcodecs/ad_ffmpeg.c

Modified: trunk/libmpcodecs/ad_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/ad_ffmpeg.c	Fri Nov 27 13:23:06 2009	(r29969)
+++ trunk/libmpcodecs/ad_ffmpeg.c	Sat Nov 28 19:01:54 2009	(r29970)
@@ -93,7 +93,7 @@ static int init(sh_audio_t *sh_audio)
         mp_msg(MSGT_DECAUDIO,MSGL_ERR, MSGTR_CantOpenCodec);
         return 0;
     }
-   mp_msg(MSGT_DECAUDIO,MSGL_V,"INFO: libavcodec init OK!\n");
+   mp_msg(MSGT_DECAUDIO,MSGL_V,"INFO: libavcodec \"%s\" init OK!\n", lavc_codec->name);
 
 //   printf("\nFOURCC: 0x%X\n",sh_audio->format);
    if(sh_audio->format==0x3343414D){


More information about the MPlayer-cvslog mailing list