diff options
author | Gunther Piez <gupiez@gmail.com> | 2013-05-07 13:32:15 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-07 15:38:15 +0400 |
commit | acc4a7e5b350f56671ef4a19c56e5b1787428893 (patch) | |
tree | 94afc3478d8edad92f94203576e436ebb7f442cb /libavcodec/libx264.c | |
parent | 2efbbc464458351a888bf5e37384b08d33336f30 (diff) |
Ticket #2540 Enable threading when using -c:v libx264rgb
Signed-off-by: Gunther Piez <gupiez@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r-- | libavcodec/libx264.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |