changeset 29928:731ddb53dc92

when using -v, print also which lavc codec has been used, not just that the init was ok
author attila
date Sat, 28 Nov 2009 18:01:54 +0000
parents 745e255962cb
children 49c6bb4f97aa
files libmpcodecs/ad_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ad_ffmpeg.c	Fri Nov 27 12:23:06 2009 +0000
+++ b/libmpcodecs/ad_ffmpeg.c	Sat Nov 28 18:01:54 2009 +0000
@@ -93,7 +93,7 @@
         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){