[FFmpeg-devel] [PATCH 1/2] avcodec: Don't assume separate u and v planes in ff_alloc_picture

Hendrik Leppkes h.leppkes at gmail.com
Tue Nov 14 17:29:06 EET 2017

On Tue, Nov 14, 2017 at 4:24 PM, Philip Langdale <philipl at overt.org> wrote:
> I didn't bother investigating why, but vdpau avoids this by having
> all linesizes set to zero. Cute.

Thats probably what most hwaccels do, the hardware surface has its own
descriptor, so the linesize is not used.

- Hendrik

More information about the ffmpeg-devel mailing list