diff options
author | James Almer <jamrial@gmail.com> | 2018-09-02 19:23:26 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-09-02 19:23:26 -0300 |
commit | 7167ac33a8f2c7d063384c267f984f23d2b73854 (patch) | |
tree | e5d4d881507af94a2b7f816eee7867a794c8731b /libavcodec/qsvdec_other.c | |
parent | 768b07e3bca7e81d2f9c60badb3973d3d88481dc (diff) | |
parent | c1bcd321ea2c2ae1765a1e64f03278712221d726 (diff) |
Merge commit 'c1bcd321ea2c2ae1765a1e64f03278712221d726'
* commit 'c1bcd321ea2c2ae1765a1e64f03278712221d726':
avcodec/qsv: fix async support
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/qsvdec_other.c')
-rw-r--r-- | libavcodec/qsvdec_other.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvdec_other.c b/libavcodec/qsvdec_other.c index 3c872dcfc2..f6e08a2a84 100644 --- a/libavcodec/qsvdec_other.c +++ b/libavcodec/qsvdec_other.c @@ -159,7 +159,7 @@ static void qsv_decode_flush(AVCodecContext *avctx) #define OFFSET(x) offsetof(QSVOtherContext, x) #define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM static const AVOption options[] = { - { "async_depth", "Internal parallelization depth, the higher the value the higher the latency.", OFFSET(qsv.async_depth), AV_OPT_TYPE_INT, { .i64 = ASYNC_DEPTH_DEFAULT }, 0, INT_MAX, VD }, + { "async_depth", "Internal parallelization depth, the higher the value the higher the latency.", OFFSET(qsv.async_depth), AV_OPT_TYPE_INT, { .i64 = ASYNC_DEPTH_DEFAULT }, 1, INT_MAX, VD }, { NULL }, }; |