From: Loren Merritt Date: Fri, 28 Jan 2005 13:47:14 +0000 (+0000) Subject: Change default level from 2.1 to 4.0 until I get around to calculating actual levels. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3f098e9644a31f17490f05d0ecea08e6443aa110;p=libx264 Change default level from 2.1 to 4.0 until I get around to calculating actual levels. git-svn-id: svn://svn.videolan.org/x264/trunk@110 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/encoder/set.c b/encoder/set.c index 052e8483..8d559d3c 100644 --- a/encoder/set.c +++ b/encoder/set.c @@ -44,7 +44,9 @@ void x264_sps_init( x264_sps_t *sps, int i_id, x264_param_t *param ) else sps->i_profile_idc = PROFILE_BASELINE; - sps->i_level_idc = 21; /* FIXME ? */ + /* FIXME: level 4.0 is sufficient for 720x576 with 16 reference frames, + * but this should be adjustable */ + sps->i_level_idc = 40; sps->b_constraint_set0 = 0; sps->b_constraint_set1 = 0; sps->b_constraint_set2 = 0;