# HG changeset patch # User reimar # Date 1312917821 0 # Node ID 15e182c0768990f52011326beb63b8e052f9a7ff # Parent 9b59c0e0948c7ccb671cbc2a18bc2521547f2d4a 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. diff -r 9b59c0e0948c -r 15e182c07689 libmpcodecs/vd_ffmpeg.c --- a/libmpcodecs/vd_ffmpeg.c Tue Aug 09 19:15:19 2011 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Tue Aug 09 19:23:41 2011 +0000 @@ -213,6 +213,7 @@ //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)