[FFmpeg-cvslog] vaapi_encode_mjpeg: Mark as intra-only

Mark Thompson git at videolan.org
Sun Sep 23 18:47:43 EEST 2018


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Tue Sep 18 23:30:55 2018 +0100| [930aad6a3617406f292f5505af3cd38000da04f1] | committer: Mark Thompson

vaapi_encode_mjpeg: Mark as intra-only

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=930aad6a3617406f292f5505af3cd38000da04f1
---

 libavcodec/vaapi_encode_mjpeg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/vaapi_encode_mjpeg.c b/libavcodec/vaapi_encode_mjpeg.c
index db9b36321a..fe8439ce88 100644
--- a/libavcodec/vaapi_encode_mjpeg.c
+++ b/libavcodec/vaapi_encode_mjpeg.c
@@ -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,



More information about the ffmpeg-cvslog mailing list