[x264-devel] commit: add interlacing to the list of stuff checked by x264_validate_levels ( Loic Le Loarer )

git version control git at videolan.org
Sat Jul 26 02:21:43 CEST 2008


x264 | branch: master | Loic Le Loarer <lll+vlc at m4x.org> | Fri Jul 25 16:08:32 2008 -0600| [cf466eb47e1cd82d3e2114cefdf2f2d16950ae77]

add interlacing to the list of stuff checked by x264_validate_levels

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=cf466eb47e1cd82d3e2114cefdf2f2d16950ae77
---

 encoder/set.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/encoder/set.c b/encoder/set.c
index 3dbed5d..1008551 100644
--- a/encoder/set.c
+++ b/encoder/set.c
@@ -559,6 +559,7 @@ int x264_validate_levels( x264_t *h, int verbose )
     CHECK( "VBV bitrate", l->bitrate, h->param.rc.i_vbv_max_bitrate );
     CHECK( "VBV buffer", l->cpb, h->param.rc.i_vbv_buffer_size );
     CHECK( "MV range", l->mv_range, h->param.analyse.i_mv_range );
+    CHECK( "interlaced", !l->frame_only, h->param.b_interlaced );
 
     if( h->param.i_fps_den > 0 )
         CHECK( "MB rate", l->mbps, (int64_t)mbs * h->param.i_fps_num / h->param.i_fps_den );



More information about the x264-devel mailing list