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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel