vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sat Sep 15 21:33:05 2012 +0300| [8d59ba01d33c96d61db5e0e7ab9b8a30b052ebab] | committer: 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: Ilkka Ollakka <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8d59ba01d33c96d61db5e0e7ab9b8a30b052ebab --- modules/codec/avcodec/avcodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/avcodec/avcodec.c b/modules/codec/avcodec/avcodec.c index 1adc2a2..2176b74 100644 --- a/modules/codec/avcodec/avcodec.c +++ b/modules/codec/avcodec/avcodec.c @@ -159,7 +159,7 @@ vlc_module_begin () #endif #if defined(FF_THREAD_FRAME) 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 _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
