[vlc-devel] [PATCH 2/2] avcodec encoder: disable multithreading
Rafaël Carré
funman at videolan.org
Tue May 28 11:30:56 CEST 2013
More work is needed before we can support it
Close #8544
---
modules/codec/avcodec/encoder.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 684add1..c75a78f 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -317,6 +317,7 @@ int OpenEncoder( vlc_object_t *p_this )
p_context = avcodec_alloc_context3(p_codec);
p_sys->p_context = p_context;
p_sys->p_context->codec_id = p_sys->p_codec->id;
+ p_context->thread_type = 0;
p_context->debug = var_InheritInteger( p_enc, "avcodec-debug" );
p_context->opaque = (void *)p_this;
--
1.8.1.2
More information about the vlc-devel
mailing list