Commit 9fc42624 authored by Ludovic Fauvet's avatar Ludovic Fauvet
Browse files

patches: Enable avcodec threading back again

parent 354f7823
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
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