aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg_opt.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-11-24 16:14:27 +0100
committerPaul B Mahol <onemda@gmail.com>2016-11-24 16:27:55 +0100
commit8f5a2bed5eabd423db4a05521a96b71babeff332 (patch)
tree0621452ce582f7c775f7b58563df3b21616f6abf /ffmpeg_opt.c
parent995512328ed84bb737bc364e4ef6fba1994f062a (diff)
downloadffmpeg-8f5a2bed5eabd423db4a05521a96b71babeff332.tar.gz
ffmpeg_filter: fix several logic failures
Move global thread variables to better place. Use correct variable for simple and complex filtergraphs. This makes number of threads set per filter work again. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'ffmpeg_opt.c')
-rw-r--r--ffmpeg_opt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index ddda3f2a14..7c570f3ac7 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -119,6 +119,8 @@ int qp_hist = 0;
int stdin_interaction = 1;
int frame_bits_per_raw_sample = 0;
float max_error_rate = 2.0/3;
+int filter_nbthreads = 0;
+int filter_complex_nbthreads = 0;
static int intra_only = 0;