On Mon, 24 Mar 2014 21:04:09 +0100, wm4 <[email protected]> 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?
I do not know what the original reason for it was, now i'm just doing it for consistency. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
