]> git.sesse.net Git - vlc/commitdiff
x264: when partitions=all, just set partitions~0
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 30 Jul 2009 11:00:47 +0000 (14:00 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 30 Jul 2009 11:01:45 +0000 (14:01 +0300)
modules/codec/x264.c

index b82dadd46504ec89b059e29711b7ce92b8c977ac..782d46a51a85121e520df7def03ea738d30937bb 100644 (file)
@@ -1225,14 +1225,7 @@ static int  Open ( vlc_object_t *p_this )
     }
     else if( !strcmp( val.psz_string, "all" ) )
     {
-        p_sys->param.analyse.inter =
-            X264_ANALYSE_I4x4 |
-            X264_ANALYSE_PSUB16x16 |
-            X264_ANALYSE_BSUB16x16 |
-            X264_ANALYSE_PSUB8x8;
-#ifdef X264_ANALYSE_I8x8
-        p_sys->param.analyse.inter |= X264_ANALYSE_I8x8;
-#endif
+        p_sys->param.analyse.inter = ~0;
     }
     free( val.psz_string );