HACK: Disable automatic multi-threading.
Using multi-threading for stream probing is a bad idea.
This commit is contained in:
parent
a8056531da
commit
3d5976c4ae
@ -23,7 +23,7 @@
|
||||
|
||||
/* H.264 slice threading seems to be buggy with more than 16 threads,
|
||||
* limit the number of threads to 16 for automatic detection */
|
||||
#define MAX_AUTO_THREADS 16
|
||||
#define MAX_AUTO_THREADS 1
|
||||
|
||||
int ff_slice_thread_init(AVCodecContext *avctx);
|
||||
void ff_slice_thread_free(AVCodecContext *avctx);
|
||||
|
Loading…
Reference in New Issue
Block a user