[vlc-commits] commit: vmem: mark options private or volatile as needed ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Tue Mar 30 13:40:00 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 30 14:39:48 2010 +0300| [c67f375c6d944caac0f2208407934a505193d5b7] | committer: Rémi Denis-Courmont 

vmem: mark options private or volatile as needed

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c67f375c6d944caac0f2208407934a505193d5b7
---

 modules/video_output/vmem.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/vmem.c b/modules/video_output/vmem.c
index 54e6dc4..be1ef6d 100644
--- a/modules/video_output/vmem.c
+++ b/modules/video_output/vmem.c
@@ -75,12 +75,19 @@ vlc_module_begin()
     set_capability("vout display", 0)
 
     add_integer("vmem-width", 320, NULL, T_WIDTH, LT_WIDTH, false)
+        change_private()
     add_integer("vmem-height", 200, NULL, T_HEIGHT, LT_HEIGHT, false)
+        change_private()
     add_integer("vmem-pitch", 640, NULL, T_PITCH, LT_PITCH, false)
+        change_private()
     add_string("vmem-chroma", "RV16", NULL, T_CHROMA, LT_CHROMA, true)
+        change_private()
     add_string("vmem-lock", "0", NULL, T_LOCK, LT_LOCK, true)
+        change_volatile()
     add_string("vmem-unlock", "0", NULL, T_UNLOCK, LT_UNLOCK, true)
+        change_volatile()
     add_string("vmem-data", "0", NULL, T_DATA, LT_DATA, true)
+        change_volatile()
 
     set_callbacks(Open, Close)
 vlc_module_end()



More information about the vlc-commits mailing list