# HG changeset patch # User bcoudurier # Date 1212540996 0 # Node ID 8193f8ae7ff4a6000c9e0654e05f7b3722b2f42f # Parent af0fe48cda98d1988a67fdb9bbd9cd82db96ad0d x264 interlaced encoding option diff -r af0fe48cda98 -r 8193f8ae7ff4 libx264.c --- a/libx264.c Wed Jun 04 00:44:43 2008 +0000 +++ b/libx264.c Wed Jun 04 00:56:36 2008 +0000 @@ -260,6 +260,8 @@ x4->params.i_threads = avctx->thread_count; + x4->params.b_interlaced = avctx->flags & CODEC_FLAG_INTERLACED_DCT; + if(avctx->flags & CODEC_FLAG_GLOBAL_HEADER){ x4->params.b_repeat_headers = 0; }