Commit d9e5c9b7 authored by Baptiste Coudurier's avatar Baptiste Coudurier

x264 interlaced encoding option

Originally committed as revision 13656 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 682a48a1
...@@ -260,6 +260,8 @@ X264_init(AVCodecContext *avctx) ...@@ -260,6 +260,8 @@ X264_init(AVCodecContext *avctx)
x4->params.i_threads = avctx->thread_count; x4->params.i_threads = avctx->thread_count;
x4->params.b_interlaced = avctx->flags & CODEC_FLAG_INTERLACED_DCT;
if(avctx->flags & CODEC_FLAG_GLOBAL_HEADER){ if(avctx->flags & CODEC_FLAG_GLOBAL_HEADER){
x4->params.b_repeat_headers = 0; x4->params.b_repeat_headers = 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