[vlc-commits] Avcodec, restore the threads count to auto
Jean-Baptiste Kempf
git at videolan.org
Fri Jan 25 17:04:00 CET 2013
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 25 17:00:19 2013 +0100| [0af60c3e6e659bc2dbfd6175db5451a577e62d9c] | committer: 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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0af60c3e6e659bc2dbfd6175db5451a577e62d9c
---
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 f75c776..aa17d98 100644
--- a/modules/codec/avcodec/avcodec.c
+++ b/modules/codec/avcodec/avcodec.c
@@ -139,7 +139,7 @@ vlc_module_begin ()
add_module( "avcodec-hw", "hw decoder", "none", HW_TEXT, HW_LONGTEXT, false )
#if defined(FF_THREAD_FRAME)
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
More information about the vlc-commits
mailing list