]> git.sesse.net Git - vlc/commitdiff
Add video-title-* options as safe
authorAnthony Loiseau <thannoy@actech-innovation.com>
Fri, 1 May 2009 13:12:39 +0000 (15:12 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 1 May 2009 13:12:39 +0000 (15:12 +0200)
Add the ability to change those options:
- video-title-show
- video-title-position
- video-title-timeout

src/libvlc-module.c

index 88844d69034f078a3c5520d370c93f4897daa301..07e9c09fd9b48721fe5f08721d5eaf737b54c1c1 100644 (file)
@@ -1585,10 +1585,13 @@ vlc_module_begin ()
 
     add_bool( "video-title-show", 1, NULL, VIDEO_TITLE_SHOW_TEXT,
               VIDEO_TITLE_SHOW_LONGTEXT, false )
+        change_safe()
     add_integer( "video-title-timeout", 5000, NULL, VIDEO_TITLE_TIMEOUT_TEXT,
                  VIDEO_TITLE_TIMEOUT_LONGTEXT, false )
+        change_safe()
     add_integer( "video-title-position", 8, NULL, VIDEO_TITLE_POSITION_TEXT,
                  VIDEO_TITLE_POSITION_LONGTEXT, false )
+        change_safe()
         change_integer_list( pi_pos_values, ppsz_pos_descriptions, NULL )
     // autohide after 1.5s
     add_integer( "mouse-hide-timeout", 1500, NULL, MOUSE_HIDE_TIMEOUT_TEXT,