Commit 6c276df2 authored by superdump's avatar superdump

Make Xvid wrapper use threads (with support for newest CVS Xvid only)

Patch by Thorsten Jordan ( tjordan macrosystem de )


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12928 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bcc9d2b9
...@@ -192,10 +192,11 @@ av_cold int ff_xvid_encode_init(AVCodecContext *avctx) { ...@@ -192,10 +192,11 @@ av_cold int ff_xvid_encode_init(AVCodecContext *avctx) {
/* XviD can determine the proper profile to use */ /* XviD can determine the proper profile to use */
/* xvid_enc_create.profile = XVID_PROFILE_S_L3; */ /* xvid_enc_create.profile = XVID_PROFILE_S_L3; */
/* We don't use zones or threads */ /* We don't use zones */
xvid_enc_create.zones = NULL; xvid_enc_create.zones = NULL;
xvid_enc_create.num_zones = 0; xvid_enc_create.num_zones = 0;
xvid_enc_create.num_threads = 0;
xvid_enc_create.num_threads = avctx->thread_count;
xvid_enc_create.plugins = plugins; xvid_enc_create.plugins = plugins;
xvid_enc_create.num_plugins = 0; xvid_enc_create.num_plugins = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment