Mercurial > libavcodec.hg
diff libx264.c @ 7001:8193f8ae7ff4 libavcodec
x264 interlaced encoding option
| author | bcoudurier |
|---|---|
| date | Wed, 04 Jun 2008 00:56:36 +0000 |
| parents | af0fe48cda98 |
| children | 92c74bbdf4fb |
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; }
