diff options
author | Jun Zhao <mypopydev@gmail.com> | 2018-11-19 00:12:21 +0800 |
---|---|---|
committer | Jun Zhao <jun.zhao@intel.com> | 2018-12-02 11:05:28 +0800 |
commit | 72b047a7a706b11f9c5f33d89434d288b7ec1384 (patch) | |
tree | d01769ca420d2b9f9d0f1a209eabdadf3f2d1978 /libavcodec/libkvazaar.c | |
parent | c0479010125b8ec7eafe6cd55574cee9c3aeb475 (diff) | |
download | ffmpeg-72b047a7a706b11f9c5f33d89434d288b7ec1384.tar.gz |
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@gmail.com>
Diffstat (limited to 'libavcodec/libkvazaar.c')
-rw-r--r-- | libavcodec/libkvazaar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |