summaryrefslogtreecommitdiff
path: root/libavcodec/qsvenc_hevc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-06-22 19:57:28 +0200
committerAnton Khirnov <anton@khirnov.net>2016-07-22 19:08:13 +0200
commit37a9015ee84c15fec5247ba8f6577351a25fa8d2 (patch)
treef4d92949ca3d157584f09652b7e6a166f01ffc6f /libavcodec/qsvenc_hevc.c
parent21962261c74aed4df00ae8348a5e2d1ecb67c52d (diff)
downloadffmpeg-37a9015ee84c15fec5247ba8f6577351a25fa8d2.tar.gz
qsvenc: add support for p010
Diffstat (limited to 'libavcodec/qsvenc_hevc.c')
-rw-r--r--libavcodec/qsvenc_hevc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index 706191dc65..ddb2a42ed6 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -262,6 +262,7 @@ AVCodec ff_hevc_qsv_encoder = {
.close = qsv_enc_close,
.capabilities = AV_CODEC_CAP_DELAY,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_NV12,
+ AV_PIX_FMT_P010,
AV_PIX_FMT_QSV,
AV_PIX_FMT_NONE },
.priv_class = &class,