[FFmpeg-cvslog] r13656 - trunk/libavcodec/libx264.c

bcoudurier subversion
Wed Jun 4 02:56:36 CEST 2008


Author: bcoudurier
Date: Wed Jun  4 02:56:36 2008
New Revision: 13656

Log:
x264 interlaced encoding option

Modified:
   trunk/libavcodec/libx264.c

Modified: trunk/libavcodec/libx264.c
==============================================================================
--- trunk/libavcodec/libx264.c	(original)
+++ trunk/libavcodec/libx264.c	Wed Jun  4 02:56:36 2008
@@ -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;
     }




More information about the ffmpeg-cvslog mailing list