[FFmpeg-devel] [PATCH]lavfi/extractplanes: Fix in_pixfmts

Paul B Mahol onemda at gmail.com
Mon Mar 7 11:19:43 CET 2016


On 3/5/16, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Hi!
>
> I see the following issue here with extractplanes:
> If the input file has a 16bit little endian pix_fmt not supported by
> extractplanes (gbra12le), the filter system has to choose a compatible
> pix_fmt supported by the filter and chooses rgba64be here.
> The extractplanes filter returns gray16le as output pix_fmt because the
> original pix_fmt was le but produces visually broken output because the
> actual filter input is be.
> Attached patch works around this issue by always providing compatible
> input and output formats.
> I am happy if this can be fixed differently.
>
> Please comment, Carl Eugen

LGTM


More information about the ffmpeg-devel mailing list