vaapi_encode_mjpeg: Mark as intra-only

This commit is contained in:
Mark Thompson 2018-09-18 23:30:55 +01:00
parent ff0eb2bce3
commit 930aad6a36
1 changed files with 2 additions and 1 deletions

View File

@ -554,7 +554,8 @@ AVCodec ff_mjpeg_vaapi_encoder = {
.encode2 = &ff_vaapi_encode2,
.close = &vaapi_encode_mjpeg_close,
.priv_class = &vaapi_encode_mjpeg_class,
.capabilities = AV_CODEC_CAP_HARDWARE,
.capabilities = AV_CODEC_CAP_HARDWARE |
AV_CODEC_CAP_INTRA_ONLY,
.defaults = vaapi_encode_mjpeg_defaults,
.pix_fmts = (const enum AVPixelFormat[]) {
AV_PIX_FMT_VAAPI,