On Mon, Nov 4, 2013 at 1:05 PM, Rémi Denis-Courmont <r...@remlab.net> wrote:
> On Sun,  3 Nov 2013 23:27:45 +0100, Anton Khirnov <an...@khirnov.net>
> wrote:
>> data[0] may be NULL for valid frames with hwaccel pixel formats.
>
> This looks OK (and VLC already supplies a dummy buf[0] 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[0], and if downstream uses get_buffer, the compat layer should
provide a buf[0], IIRC.

Or am I missing something?

- Hendrik
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to