[FFmpeg-devel] [RFC] Exporting the alpha mode from decoders
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Feb 6 13:10:59 CET 2015
wm4 <nfxjfg <at> googlemail.com> writes:
> > I will fix this later if nobody beats me.
>
> How do you intend to beat this?
Setting it to 0RGB32 instead of RGB32.
Unrelated to your API suggestion, this is a
bug in FFmpeg that we should fix.
> Explicitly writing the alpha component?
> (I was assuming this was a no-go.)
We do this in many cases but it is not
necessary in this case.
Concerning your API suggestion, the pix_fmt
should always tell you if there is a useful
transparency layer or not. If this is not
done correctly in some cases, I would like
to fix them.
Carl Eugen
More information about the ffmpeg-devel
mailing list