mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
x264 interlaced encoding option
Originally committed as revision 13656 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
682a48a107
commit
d9e5c9b718
@ -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…
Reference in New Issue
Block a user