[MPlayer-dev-eng] tga loader: problems with colors
Tilman Sauerbeck
tsauerbeck at users.sourceforge.net
Sat Sep 7 23:00:45 CEST 2002
Hi,
I've encountered a problem in my tga loading code:
If I load the colors in the right order (B, G, R, A; according to the TGA docs), the colors are messed up in the encoded movie.
If I load R first, then G, B and A, everything is fine, which shouldn't happen according to the docs.
So I'm asking myself whether I may have messed up with that "out_fmt". Currently, I set this to IMGFMT_RGB24, but changing this BGR24 doesn't change anything. I'm using out_fmt the same way vd_mpng.c does, i.e. passing it as the third parameter to mpcodecs_config_vo().
Any help is greatly appreciated :)
Regards,
Tilman
More information about the MPlayer-dev-eng
mailing list