]> git.sesse.net Git - vlc/blobdiff - modules/demux/subtitle.c
Don't include config.h from the headers - refs #297.
[vlc] / modules / demux / subtitle.c
index 36da2e0795defa11c8fafa841e31aa126575d6d5..44fd7ce05d4213159d0c39005a2e30b165241627 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_input.h>
 
@@ -69,15 +73,12 @@ vlc_module_begin();
     add_float( "sub-fps", 0.0, NULL,
                N_("Frames per second"),
                SUB_FPS_LONGTEXT, VLC_TRUE );
-        change_safe();
     add_integer( "sub-delay", 0, NULL,
                N_("Subtitles delay"),
                SUB_DELAY_LONGTEXT, VLC_TRUE );
-        change_safe();
     add_string( "sub-type", "auto", NULL, N_("Subtitles format"),
                 SUB_TYPE_LONGTEXT, VLC_TRUE );
         change_string_list( ppsz_sub_type, NULL, NULL );
-        change_safe();
     set_callbacks( Open, Close );
 
     add_shortcut( "subtitle" );