[FFmpeg-cvslog] lavc/kvazaar: fix auto thread flag in kvazaar wrapper.

Jun Zhao git at videolan.org
Sun Dec 2 05:06:09 EET 2018


ffmpeg | branch: master | Jun Zhao <mypopydev at gmail.com> | Mon Nov 19 00:12:21 2018 +0800| [72b047a7a706b11f9c5f33d89434d288b7ec1384] | committer: Jun Zhao

lavc/kvazaar: fix auto thread flag in kvazaar wrapper.

Now the kvazaar warpper didn't setting the threads for kvazaar API,
and kavzaar will auto selecte the thread number.

Signed-off-by: Jun Zhao <mypopydev at gmail.com>

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

 libavcodec/libkvazaar.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c
index 5bc5b4ebf1..8f50bef669 100644
--- a/libavcodec/libkvazaar.c
+++ b/libavcodec/libkvazaar.c
@@ -293,7 +293,7 @@ AVCodec ff_libkvazaar_encoder = {
     .long_name        = NULL_IF_CONFIG_SMALL("libkvazaar H.265 / HEVC"),
     .type             = AVMEDIA_TYPE_VIDEO,
     .id               = AV_CODEC_ID_HEVC,
-    .capabilities     = AV_CODEC_CAP_DELAY,
+    .capabilities     = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_AUTO_THREADS,
     .pix_fmts         = pix_fmts,
 
     .priv_class       = &class,



More information about the ffmpeg-cvslog mailing list