Commit 0af60c3e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avcodec, restore the threads count to auto

Mpeg-4, H.264, VP8 and other deadlocks with -mt have been fixed
and fuzzed by Janne, notably, since a few weeks/months.
parent 838be583
...@@ -139,7 +139,7 @@ vlc_module_begin () ...@@ -139,7 +139,7 @@ vlc_module_begin ()
add_module( "avcodec-hw", "hw decoder", "none", HW_TEXT, HW_LONGTEXT, false ) add_module( "avcodec-hw", "hw decoder", "none", HW_TEXT, HW_LONGTEXT, false )
#if defined(FF_THREAD_FRAME) #if defined(FF_THREAD_FRAME)
add_obsolete_integer( "ffmpeg-threads" ) /* removed since 2.1.0 */ add_obsolete_integer( "ffmpeg-threads" ) /* removed since 2.1.0 */
add_integer( "avcodec-threads", 1, THREADS_TEXT, THREADS_LONGTEXT, true ); add_integer( "avcodec-threads", 0, THREADS_TEXT, THREADS_LONGTEXT, true );
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment