On Tue, 14 Nov 2017 16:29:06 +0100
Hendrik Leppkes <h.lepp...@gmail.com> wrote:

> On Tue, Nov 14, 2017 at 4:24 PM, Philip Langdale <phil...@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.

Indeed. I took a look at the get_buffer implementations and cuda is
special in that it sets the data and linesize values to reflect the
underlying pixfmt. No good deed goes unpunished.

--phil
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to