From: Laurent Aimar Date: Sun, 22 Mar 2009 15:26:33 +0000 (+0100) Subject: Make meta-* option safe. X-Git-Tag: 1.0.0-pre2~427 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=46fc27734fffaa81e6dde39d8be7dc276e639edb;p=vlc Make meta-* option safe. It was a request of Frederik Kriewitz. --- diff --git a/src/libvlc-module.c b/src/libvlc-module.c index 4f2f9405ec..0cd8f463f6 100644 --- a/src/libvlc-module.c +++ b/src/libvlc-module.c @@ -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 )