[FFmpeg-devel] [PATCH] vda: set destination image buffer attributes
dilaroga at gmail.com
Wed Nov 9 14:34:49 CET 2011
On Nov 9, 2011, at 1:34 PM, Michael Niedermayer wrote:
> On Wed, Nov 09, 2011 at 09:04:39AM +0100, Sebastien Zwickert wrote:
>> + cv_pix_fmt_type = kCVPixelFormatType_422YpCbCr8;
> should this not be set depending on AVCodecContext.pix_fmt ?
AFAIK at this stage the AVCodecContext.pix_fmt is the pixel format for vda (PIX_FMT_VDA_VLD). Or I missed something ?
However this pixel format type which defines the type of the vda decoder output CoreVideo buffer should be set by the client itself.
I'll provide a patch in this way.
More information about the ffmpeg-devel