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

git at videolan.org git at videolan.org
Tue Mar 30 13:39:59 CEST 2010


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

imem: mark options volatile or private

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

 modules/access/imem.c |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/modules/access/imem.c b/modules/access/imem.c
index ac904b1..f92c87e 100644
--- a/modules/access/imem.c
+++ b/modules/access/imem.c
@@ -114,24 +114,39 @@ vlc_module_begin()
     set_subcategory(SUBCAT_INPUT_ACCESS)
 
     add_integer("imem-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, true)
+        change_private()
     add_string ("imem-get", "0", NULL, GET_TEXT, GET_LONGTEXT, true)
+        change_volatile()
     add_string ("imem-release", "0", NULL, RELEASE_TEXT, RELEASE_LONGTEXT, true)
+        change_volatile()
     add_string ("imem-data", "0", NULL, DATA_TEXT, DATA_LONGTEXT, true)
+        change_volatile()
 
     add_integer("imem-id", -1, NULL, ID_TEXT, ID_LONGTEXT, true)
+        change_private()
     add_integer("imem-group", 0, NULL, GROUP_TEXT, GROUP_LONGTEXT, true)
+        change_private()
     add_integer("imem-cat", 0, NULL, CAT_TEXT, CAT_LONGTEXT, true)
         change_integer_list(cat_values, cat_texts, NULL)
-    add_string ("imem-codec", NULL, NULL, CODEC_TEXT, CODEC_LONGTEXT, true)
-    add_string( "imem-language", NULL, NULL, LANGUAGE_TEXT, LANGUAGE_LONGTEXT, false);
+        change_private()
+    add_string ("imeme-codec", NULL, NULL, CODEC_TEXT, CODEC_LONGTEXT, true)
+        change_private()
+    add_string( "imem-language", NULL, NULL, LANGUAGE_TEXT, LANGUAGE_LONGTEXT, false)
+        change_private()
 
     add_integer("imem-samplerate", 0, NULL, SAMPLERATE_TEXT, SAMPLERATE_LONGTEXT, true)
+        change_private()
     add_integer("imem-channels", 0, NULL, CHANNELS_TEXT, CHANNELS_LONGTEXT, true)
+        change_private()
 
     add_integer("imem-width", 0, NULL, WIDTH_TEXT, WIDTH_LONGTEXT, true)
+        change_private()
     add_integer("imem-height", 0, NULL, HEIGHT_TEXT, HEIGHT_LONGTEXT, true)
+        change_private()
     add_string ("imem-dar", NULL, NULL, DAR_TEXT, DAR_LONGTEXT, true)
+        change_private()
     add_string ("imem-fps", NULL, NULL, FPS_TEXT, FPS_LONGTEXT, true)
+        change_private()
 
     add_shortcut("imem")
     set_capability("access_demux", 0)



More information about the vlc-commits mailing list