HACK: Disable automatic multi-threading.
Using multi-threading for stream probing is a bad idea.
This commit is contained in:
parent
007f706d5d
commit
e40b1a9214
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
/* H.264 slice threading seems to be buggy with more than 16 threads,
|
/* H.264 slice threading seems to be buggy with more than 16 threads,
|
||||||
* limit the number of threads to 16 for automatic detection */
|
* 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);
|
int ff_slice_thread_init(AVCodecContext *avctx);
|
||||||
void ff_slice_thread_free(AVCodecContext *avctx);
|
void ff_slice_thread_free(AVCodecContext *avctx);
|
||||||
|
|
Loading…
Reference in New Issue