OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/vlc?expand=0&rev=28
24 lines
883 B
Diff
24 lines
883 B
Diff
From 5a43de506f31e1fa5460f8b62e25a1d640136597 Mon Sep 17 00:00:00 2001
|
|
From: =?utf8?q?Rafa=C3=ABl=20Carr=C3=A9?= <funman@videolan.org>
|
|
Date: Tue, 28 May 2013 11:29:07 +0200
|
|
Subject: [PATCH] avcodec encoder: disable multithreading
|
|
|
|
More work is needed before we can support it
|
|
Close #8544
|
|
---
|
|
modules/codec/avcodec/encoder.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
Index: vlc-2.0.8/modules/codec/avcodec/encoder.c
|
|
===================================================================
|
|
--- vlc-2.0.8.orig/modules/codec/avcodec/encoder.c
|
|
+++ vlc-2.0.8/modules/codec/avcodec/encoder.c
|
|
@@ -354,6 +354,7 @@ int OpenEncoder( vlc_object_t *p_this )
|
|
#endif
|
|
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, "ffmpeg-debug" );
|
|
p_context->opaque = (void *)p_this;
|
|
|