[MPlayer-cvslog] r32659 - trunk/libmpdemux/demux_lavf.c

reimar subversion at mplayerhq.hu
Sat Nov 27 14:54:23 CET 2010


Author: reimar
Date: Sat Nov 27 14:54:23 2010
New Revision: 32659

Log:
Add support for uncompressed BGR24 pixfmt.

Modified:
   trunk/libmpdemux/demux_lavf.c

Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c	Sat Nov 27 14:29:16 2010	(r32658)
+++ trunk/libmpdemux/demux_lavf.c	Sat Nov 27 14:54:23 2010	(r32659)
@@ -356,6 +356,8 @@ static void handle_stream(demuxer_t *dem
                 switch (codec->pix_fmt) {
                     case PIX_FMT_RGB24:
                         codec->codec_tag= MKTAG(24, 'B', 'G', 'R');
+                    case PIX_FMT_BGR24:
+                        codec->codec_tag= MKTAG(24, 'R', 'G', 'B');
                 }
             }
             if(!codec->codec_tag)


More information about the MPlayer-cvslog mailing list