[MPlayer-cvslog] r33958 - trunk/libmpcodecs/vd_ffmpeg.c

reimar subversion at mplayerhq.hu
Tue Aug 9 21:23:41 CEST 2011


Author: reimar
Date: Tue Aug  9 21:23:41 2011
New Revision: 33958

Log:
Assume that messages from AVFormatContext are demuxer messages.

This can obviously be wrong for mencoder, but it's better than
having MSGT_FIXME for everything.

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Tue Aug  9 21:15:19 2011	(r33957)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Tue Aug  9 21:23:41 2011	(r33958)
@@ -213,6 +213,7 @@ static void mp_msp_av_log_callback(void 
                 //FIXME subtitles, encoders (what msgt for them? there is no appropriate ...)
             }
         }else if(!strcmp(avc->class_name, "AVFormatContext")){
+            type= MSGT_DEMUXER;
 #if 0 //needs libavformat include FIXME iam too lazy to do this cleanly, probably the whole should be moved out of this file ...
             AVFormatContext *s= ptr;
             if(s->iformat)


More information about the MPlayer-cvslog mailing list