On 24/03/14 21:04, wm4 wrote:
> On Mon, 24 Mar 2014 03:01:51 +0100
> Luca Barbato <[email protected]> wrote:
> 
> 
>> +    AV_PIX_FMT_VDA,          ///< HW acceleration through VDA, data[3] 
>> contains a CVPixelBufferRef
> 
> I keep wondering about this: why data[3]? data[0] would be a little bit
> less strange. Is this due to historical reasons (hw surfaces can be 0,
> and data[0] being NULL did not work due to now removed checks), or
> consistency with older hwaccels, or something else?

Mostly consistency with older hwaccels, sadly.

lu
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to