]> git.sesse.net Git - vlc/blobdiff - src/libvlc-module.c
Renamed "deinterlace" into "deinterlace-mode" at the core level.
[vlc] / src / libvlc-module.c
index 12341bc6830cffd66802647d56893f899a406346..2f6b80c2dec219b58fb2af669447cda212f85b9f 100644 (file)
@@ -451,14 +451,14 @@ static const char *const ppsz_align_descriptions[] =
     "Hide mouse cursor and fullscreen controller after " \
     "n milliseconds, default is 3000 ms (3 sec.)")
 
-#define DEINTERLACE_TEXT N_("Deinterlace mode")
-#define DEINTERLACE_LONGTEXT N_( \
+#define DEINTERLACE_MODE_TEXT N_("Deinterlace mode")
+#define DEINTERLACE_MODE_LONGTEXT N_( \
     "Deinterlace method to use for video processing.")
-static const char * const ppsz_deinterlace[] = {
+static const char * const ppsz_deinterlace_mode[] = {
     "", "discard", "blend", "mean", "bob",
     "linear", "x", "yadif", "yadif2x"
 };
-static const char * const ppsz_deinterlace_text[] = {
+static const char * const ppsz_deinterlace_mode_text[] = {
     N_("Disable"), N_("Discard"), N_("Blend"), N_("Mean"), N_("Bob"),
     N_("Linear"), "X", "Yadif", "Yadif (2x)"
 };
@@ -1677,9 +1677,9 @@ vlc_module_begin ()
     add_integer( "align", 0, NULL, ALIGN_TEXT, ALIGN_LONGTEXT, true )
         change_integer_list( pi_align_values, ppsz_align_descriptions, NULL )
     add_float( "zoom", 1, NULL, ZOOM_TEXT, ZOOM_LONGTEXT, true )
-    add_string( "deinterlace", "", NULL,
-                DEINTERLACE_TEXT, DEINTERLACE_LONGTEXT, false )
-        change_string_list( ppsz_deinterlace, ppsz_deinterlace_text, 0 )
+    add_string( "deinterlace-mode", "", NULL,
+                DEINTERLACE_MODE_TEXT, DEINTERLACE_MODE_LONGTEXT, false )
+        change_string_list( ppsz_deinterlace_mode, ppsz_deinterlace_mode_text, 0 )
         change_safe()
 
     set_subcategory( SUBCAT_VIDEO_VOUT )