[FFmpeg-cvslog] Ticket #2540 Enable threading when using -c:v libx264rgb

Gunther Piez git at videolan.org
Tue May 7 13:47:07 CEST 2013


ffmpeg | branch: master | Gunther Piez <gupiez at gmail.com> | Tue May  7 11:32:15 2013 +0200| [acc4a7e5b350f56671ef4a19c56e5b1787428893] | committer: Michael Niedermayer

Ticket #2540 Enable threading when using -c:v libx264rgb

Signed-off-by: Gunther Piez <gupiez at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=acc4a7e5b350f56671ef4a19c56e5b1787428893
---

 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,



More information about the ffmpeg-cvslog mailing list