diff options
author | Jun Zhao | 2019-05-22 09:49:43 +0800 |
---|---|---|
committer | Jun Zhao | 2019-05-22 17:43:41 +0800 |
commit | 82ccb9cba9a7bd530ba2070c90f03d0fde9af1bd (patch) | |
tree | 66d64707917b6b55937354db17c7b16e7cb968c2 /libavcodec/qsvenc.c | |
parent | 98663a0bb8cb8dc0fbc7c8964ebfab9efc5c046d (diff) |
doc/writing_filters: Use ff_filter_get_nb_threads() get number of threads
ff_filter_get_nb_threads() respect AVFilterContext.nb_threads and
graph->nb_threads both, in most case, we perfer this API than using
ctx->graph->nb_threads directly.
Reviewed-by: Steven Liu <lq@onvideo.cn>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavcodec/qsvenc.c')
0 files changed, 0 insertions, 0 deletions