[vlc-devel] commit: Make meta-* option safe. (Laurent Aimar )
git version control
git at videolan.org
Sun Mar 22 16:30:19 CET 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Mar 22 16:26:33 2009 +0100| [46fc27734fffaa81e6dde39d8be7dc276e639edb] | committer: Laurent Aimar
Make meta-* option safe.
It was a request of Frederik Kriewitz.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46fc27734fffaa81e6dde39d8be7dc276e639edb
---
src/libvlc-module.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 4f2f940..0cd8f46 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 )
More information about the vlc-devel
mailing list