[vlc-devel] commit: GLX: remove silly --glx-shm option ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Nov 29 21:44:47 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 29 22:25:41 2009 +0200| [10ab70ed8ca9e975e0629c30158d51a4a24d1557] | committer: Rémi Denis-Courmont 

GLX: remove silly --glx-shm option

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

 modules/video_output/x11/glx.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/modules/video_output/x11/glx.c b/modules/video_output/x11/glx.c
index 03f413c..71c0e4b 100644
--- a/modules/video_output/x11/glx.c
+++ b/modules/video_output/x11/glx.c
@@ -85,10 +85,6 @@ static void SwitchContext( vout_thread_t * );
     "X11 hardware display to use. By default VLC will " \
     "use the value of the DISPLAY environment variable.")
 
-#define SHM_TEXT N_("Use shared memory")
-#define SHM_LONGTEXT N_( \
-    "Use shared memory to communicate between VLC and the X server.")
-
 vlc_module_begin ()
     set_shortname( "OpenGL(GLX)" )
     set_category( CAT_VIDEO )
@@ -100,7 +96,7 @@ vlc_module_begin ()
     add_string( "glx-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, true )
     add_obsolete_integer( "glx-adaptor" ) /* Deprecated since 1.0.4 */
 #ifdef HAVE_SYS_SHM_H
-    add_bool( "glx-shm", true, NULL, SHM_TEXT, SHM_LONGTEXT, true )
+    add_obsolete_bool( "glx-shm" ) /* Deprecated since 1.0.4 */
 #endif
 vlc_module_end ()
 




More information about the vlc-devel mailing list