]> git.sesse.net Git - vlc/blobdiff - modules/video_filter/opencv_wrapper.c
Compile fix
[vlc] / modules / video_filter / opencv_wrapper.c
index 968eecd526e3b2f8552f5703430f27ac8fdde7f3..8b588119814237abb9aa59641f83373caf315d13 100644 (file)
 #include <cv.h>
 #include <highgui.h>
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_vout.h>
 
@@ -85,26 +89,21 @@ vlc_module_begin();
                           N_("Scale factor (0.1-2.0)"),
                           N_("Ammount by which to scale the picture before sending it to the internal OpenCV filter"),
                           VLC_FALSE );
-        change_safe();
     add_string( "opencv-chroma", "input", NULL,
                           N_("OpenCV filter chroma"),
                           N_("Chroma to convert picture to before sending it to the internal OpenCV filter"), VLC_FALSE);
-        change_safe();
         change_string_list( chroma_list, chroma_list_text, 0);
     add_string( "opencv-output", "input", NULL,
                           N_("Wrapper filter output"),
                           N_("Determines what (if any) video is displayed by the wrapper filter"), VLC_FALSE);
-        change_safe();
         change_string_list( output_list, output_list_text, 0);
     add_string( "opencv-verbosity", "error", NULL,
                           N_("Wrapper filter verbosity"),
                           N_("Determines wrapper filter verbosity level"), VLC_FALSE);
-        change_safe();
         change_string_list( verbosity_list, verbosity_list_text, 0);
     add_string( "opencv-filter-name", "none", NULL,
                           N_("OpenCV internal filter name"),
                           N_("Name of internal OpenCV plugin filter to use"), VLC_FALSE);
-        change_safe();
 vlc_module_end();