[vlc-commits] avcodec encoder: disable multithreading

Rafaël Carré git at videolan.org
Tue Jun 4 21:12:22 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue May 28 11:29:07 2013 +0200| [5a43de506f31e1fa5460f8b62e25a1d640136597] | committer: Rafaël Carré

avcodec encoder: disable multithreading

More work is needed before we can support it
Close #8544

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a43de506f31e1fa5460f8b62e25a1d640136597
---

 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;
 



More information about the vlc-commits mailing list