diff options
author | Shubhanshu Saxena <shubhanshu.e01@gmail.com> | 2021-08-26 02:40:47 +0530 |
---|---|---|
committer | Guo Yejun <yejun.guo@intel.com> | 2021-08-28 16:19:07 +0800 |
commit | 1544d6fa0a29fee0c01c61f58d159f976fbf443a (patch) | |
tree | d64bb62cee6d705180ecbe989db7322beef23502 /libavfilter/dnn_filter_common.c | |
parent | 70b4dca054db007ee544e5cbeabaef8098d333fa (diff) | |
download | ffmpeg-1544d6fa0a29fee0c01c61f58d159f976fbf443a.tar.gz |
libavfilter: Remove Async Flag from DNN Filter Side
Remove async flag from filter's perspective after the unification
of async and sync modes in the DNN backend.
Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
Diffstat (limited to 'libavfilter/dnn_filter_common.c')
-rw-r--r-- | libavfilter/dnn_filter_common.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavfilter/dnn_filter_common.c b/libavfilter/dnn_filter_common.c index 455eaa37f4..3045ce0131 100644 --- a/libavfilter/dnn_filter_common.c +++ b/libavfilter/dnn_filter_common.c @@ -84,13 +84,6 @@ int ff_dnn_init(DnnContext *ctx, DNNFunctionType func_type, AVFilterContext *fil return AVERROR(EINVAL); } -#if !HAVE_PTHREAD_CANCEL - if (ctx->async) { - ctx->async = 0; - av_log(filter_ctx, AV_LOG_WARNING, "pthread is not supported, roll back to sync.\n"); - } -#endif - return 0; } |