Change default level from 2.1 to 4.0 until I get around to calculating actual levels.
authorLoren Merritt <pengvado@videolan.org>
Fri, 28 Jan 2005 13:47:14 +0000 (13:47 +0000)
committerLoren Merritt <pengvado@videolan.org>
Fri, 28 Jan 2005 13:47:14 +0000 (13:47 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@110 df754926-b1dd-0310-bc7b-ec298dee348c

encoder/set.c

index 052e848..8d559d3 100644 (file)
@@ -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;