From acc4a7e5b350f56671ef4a19c56e5b1787428893 Mon Sep 17 00:00:00 2001 From: Gunther Piez Date: Tue, 7 May 2013 11:32:15 +0200 Subject: [PATCH] Ticket #2540 Enable threading when using -c:v libx264rgb Signed-off-by: Gunther Piez Signed-off-by: Michael Niedermayer --- libavcodec/libx264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 7e8fa65818..a1842f43ab 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -743,7 +743,7 @@ AVCodec ff_libx264rgb_encoder = { .init = X264_init, .encode2 = X264_frame, .close = X264_close, - .capabilities = CODEC_CAP_DELAY, + .capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS, .long_name = NULL_IF_CONFIG_SMALL("libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 RGB"), .priv_class = &rgbclass, .defaults = x264_defaults,