changeset 33870:15e182c07689

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.
author reimar
date Tue, 09 Aug 2011 19:23:41 +0000
parents 9b59c0e0948c
children 30f5e5cd3676
files libmpcodecs/vd_ffmpeg.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)