[FFmpeg-devel] [PATCH] imgconvert: add PIX_FMT_GRAY8A to pix_fmt_info

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 17 18:11:49 CET 2012


Stefano Sabatini <stefasab <at> gmail.com> writes:

> > > +    [PIX_FMT_GRAY8A] = {
> > > +        .is_alpha = 1,
> > > +        .color_type = FF_COLOR_GRAY,
> > 
> > pal8 is now chosen for bmp and tif if the input is gray8a.
> > This is not a good idea, because pal8 should never be selected by default.
> 
> Can you elaborate on this? Why pal8 is selected,

Because of above patch?
(Sorry, I may misunderstand.)

> and why pal8 should never be selected

Because it is badly supported by libswscale.

> (apart from the fact that it is not supported by libswscale)?

Carl Eugen






More information about the ffmpeg-devel mailing list