]> git.sesse.net Git - vlc/blobdiff - plugins/yuv/video_yuv.c
The motion compensation routines are now modules as well ; choose your
[vlc] / plugins / yuv / video_yuv.c
index 0d60637b8d2a3f45140c2636f66454707a49fbb7..37e7d12072f0b30b5d96075da675ccb0a738c118 100644 (file)
@@ -38,6 +38,7 @@
 #include "common.h"
 #include "threads.h"
 #include "mtime.h"
+#include "tests.h"
 #include "modules.h"
 
 #include "video.h"
@@ -75,8 +76,13 @@ void yuv_getfunctions( function_list_t * p_function_list )
  *****************************************************************************/
 static int yuv_Probe( probedata_t *p_data )
 {
+    if( TestMethod( YUV_METHOD_VAR, "yuv" ) )
+    {
+        return( 999 );
+    }
+
     /* This module always works */
-    return( 100 );
+    return( 50 );
 }
 
 /*****************************************************************************