patches: Enable avcodec threading back again

This commit is contained in:
Ludovic Fauvet 2012-09-25 19:09:54 +02:00
parent 354f78235a
commit 9fc4262486

View File

@ -0,0 +1,26 @@
From 9552d400be547dde2bce2af1c2b0a48bd5fa9abd Mon Sep 17 00:00:00 2001
From: Ludovic Fauvet <etix@videolan.org>
Date: Tue, 25 Sep 2012 18:40:05 +0200
Subject: [PATCH 6/6] Revert "avcodec: disable threading by default"
This reverts commit 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 2176b74..1adc2a2 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", 1, THREADS_TEXT, THREADS_LONGTEXT, true );
+ add_integer( "avcodec-threads", 0, THREADS_TEXT, THREADS_LONGTEXT, true );
#endif
--
1.7.12.1