Mercurial > libavcodec.hg
changeset 7001:8193f8ae7ff4 libavcodec
x264 interlaced encoding option
author | bcoudurier |
---|---|
date | Wed, 04 Jun 2008 00:56:36 +0000 |
parents | af0fe48cda98 |
children | 92c74bbdf4fb |
files | libx264.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }