hwcontext_qsv: add support for p010
authorAnton Khirnov <anton@khirnov.net>
Wed, 22 Jun 2016 11:00:49 +0000 (13:00 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 3 Jul 2016 07:13:29 +0000 (09:13 +0200)
libavutil/hwcontext_qsv.c

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