]> git.sesse.net Git - vlc/commitdiff
Make meta-* option safe.
authorLaurent Aimar <fenrir@videolan.org>
Sun, 22 Mar 2009 15:26:33 +0000 (16:26 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Sun, 22 Mar 2009 15:26:33 +0000 (16:26 +0100)
It was a request of Frederik Kriewitz.

src/libvlc-module.c

index 4f2f9405ecfffa4f17b4a3128f18fcd89792470f..0cd8f463f6aec69c22b99793d9c46d761bfea959 100644 (file)
@@ -1782,20 +1782,28 @@ vlc_module_begin ()
     set_section( N_("Metadata" ) , NULL )
     add_string( "meta-title", NULL, NULL, META_TITLE_TEXT,
                 META_TITLE_LONGTEXT, true )
+        change_safe()
     add_string( "meta-author", NULL, NULL, META_AUTHOR_TEXT,
                 META_AUTHOR_LONGTEXT, true )
+        change_safe()
     add_string( "meta-artist", NULL, NULL, META_ARTIST_TEXT,
                 META_ARTIST_LONGTEXT, true )
+        change_safe()
     add_string( "meta-genre", NULL, NULL, META_GENRE_TEXT,
                 META_GENRE_LONGTEXT, true )
+        change_safe()
     add_string( "meta-copyright", NULL, NULL, META_CPYR_TEXT,
                 META_CPYR_LONGTEXT, true )
+        change_safe()
     add_string( "meta-description", NULL, NULL, META_DESCR_TEXT,
                 META_DESCR_LONGTEXT, true )
+        change_safe()
     add_string( "meta-date", NULL, NULL, META_DATE_TEXT,
                 META_DATE_LONGTEXT, true )
+        change_safe()
     add_string( "meta-url", NULL, NULL, META_URL_TEXT,
                 META_URL_LONGTEXT, true )
+        change_safe()
 
     set_section( N_( "Advanced" ), NULL )