From f6a152db1130976aa0b5da446e5df45e2c7585b8 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Tue, 10 Jan 2012 17:21:52 +0100 Subject: threads: add CODEC_CAP_AUTO_THREADS for libvpx and xavs --- libavcodec/libxavs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/libxavs.c') diff --git a/libavcodec/libxavs.c b/libavcodec/libxavs.c index 823f5fbd73..1a16bd9ae7 100644 --- a/libavcodec/libxavs.c +++ b/libavcodec/libxavs.c @@ -414,7 +414,7 @@ AVCodec ff_libxavs_encoder = { .init = XAVS_init, .encode = XAVS_frame, .close = XAVS_close, - .capabilities = CODEC_CAP_DELAY, + .capabilities = CODEC_CAP_DELAY | CODEC_CAP_AUTO_THREADS, .pix_fmts = (const enum PixelFormat[]) { PIX_FMT_YUV420P, PIX_FMT_NONE }, .long_name = NULL_IF_CONFIG_SMALL("libxavs - the Chinese Audio Video Standard Encoder"), .priv_class = &class, -- cgit v1.2.3