]> git.sesse.net Git - ffmpeg/commit
doc/writing_filters: Use ff_filter_get_nb_threads() get number of threads
authorJun Zhao <barryjzhao@tencent.com>
Wed, 22 May 2019 01:49:43 +0000 (09:49 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Wed, 22 May 2019 09:43:41 +0000 (17:43 +0800)
commit82ccb9cba9a7bd530ba2070c90f03d0fde9af1bd
tree66d64707917b6b55937354db17c7b16e7cb968c2
parent98663a0bb8cb8dc0fbc7c8964ebfab9efc5c046d
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>
doc/writing_filters.txt