1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

hwcontext_qsv: add support for p010

This commit is contained in:
Anton Khirnov 2016-06-22 13:00:49 +02:00
parent 40f74dc87a
commit d20c118975

View File

@ -90,6 +90,7 @@ static const struct {
uint32_t fourcc; uint32_t fourcc;
} supported_pixel_formats[] = { } supported_pixel_formats[] = {
{ AV_PIX_FMT_NV12, MFX_FOURCC_NV12 }, { AV_PIX_FMT_NV12, MFX_FOURCC_NV12 },
{ AV_PIX_FMT_P010, MFX_FOURCC_P010 },
}; };
static int qsv_device_init(AVHWDeviceContext *ctx) static int qsv_device_init(AVHWDeviceContext *ctx)