diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-04 00:56:36 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-04 00:56:36 +0000 |
commit | d9e5c9b7189b628791aa6809d3ec4d2ea2408a01 (patch) | |
tree | c45a0d30450b589f9e1c4a5249099236538c3fa6 /libavcodec/libx264.c | |
parent | 682a48a1077200b947eb412aab8f5dacfa7d03a5 (diff) | |
download | ffmpeg-d9e5c9b7189b628791aa6809d3ec4d2ea2408a01.tar.gz |
x264 interlaced encoding option
Originally committed as revision 13656 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libx264.c')
-rw-r--r-- | libavcodec/libx264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index af17705de4..78fe81a593 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -260,6 +260,8 @@ X264_init(AVCodecContext *avctx) 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; } |