Commit 8d59ba01 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avcodec: disable threading by default

Threading does not currently work with some codec profiles and is thus
not suited as default. Threading is also known to deadlock in certain
circumstances, such as if no data is ever received (a rather common
scenario with network or DVB reception).

Fixed avcodec version should be checked before this is re-enabled.
Acked-by: default avatarIlkka Ollakka <ileoo@videolan.org>
parent f91a0f93
...@@ -159,7 +159,7 @@ vlc_module_begin () ...@@ -159,7 +159,7 @@ vlc_module_begin ()
#endif #endif
#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", 0, THREADS_TEXT, THREADS_LONGTEXT, true ); add_integer( "avcodec-threads", 1, 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