[libav-devel] [PATCH 1/6] lavc: use buf instead of data in checks whether a frame is allocated
h.leppkes at gmail.com
Mon Nov 4 13:12:36 CET 2013
On Mon, Nov 4, 2013 at 1:05 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> On Sun, 3 Nov 2013 23:27:45 +0100, Anton Khirnov <anton at khirnov.net>
>> data may be NULL for valid frames with hwaccel pixel formats.
> This looks OK (and VLC already supplies a dummy buf for hwaccel
> surfaces) but I would not expect downstreams to adapt anytime soon, for the
> sake of backward compatibility.
If downstream uses get_buffer2, they absolutely need to provide a
buf, and if downstream uses get_buffer, the compat layer should
provide a buf, IIRC.
Or am I missing something?
More information about the libav-devel