ffmpegdecoder: restore multithreading

This commit is contained in:
itsmattkc
2020-06-16 13:34:49 +10:00
parent cf17bbc80b
commit 8d21a2c1ef
+1 -1
View File
@@ -1284,7 +1284,7 @@ FFmpegDecoderInstance::FFmpegDecoderInstance(const char *filename, int stream_in
}
// Set multithreading setting
error_code = av_dict_set(&opts_, "threads", "1", 0);
error_code = av_dict_set(&opts_, "threads", "auto", 0);
// Handle failure to set multithreaded decoding
if (error_code < 0) {