[FFmpeg-devel] [PATCH 1/1] Ticket #2540 Enable threading when using -c:v libx264rgb
Gunther Piez
gupiez at gmail.com
Tue May 7 11:32:15 CEST 2013
Signed-off-by: Gunther Piez <gupiez at gmail.com>
---
libavcodec/libx264.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index 7e8fa65..a1842f4 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,
--
1.8.1.5
More information about the ffmpeg-devel
mailing list