Browse Source

x264 interlaced encoding option

Originally committed as revision 13656 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
d9e5c9b718
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/libx264.c

+ 2
- 0
libavcodec/libx264.c View File

@@ -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;
}


Loading…
Cancel
Save