[vlc-devel] [PATCH 06/23] Maemo: do not try to load screensaver and inhibit plugins

Rémi Denis-Courmont remi at remlab.net
Sat Oct 3 19:52:13 CEST 2009


Neither of them are functional on Maemo
(screen blanking is preempted through libosso instead).
---
 src/libvlc.c |   16 ----------------
 1 files changed, 0 insertions(+), 16 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 5d1b63e..cc5d70b 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -921,22 +921,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
         || ( config_GetInt( p_libvlc, "one-instance-when-started-from-file" )
              && config_GetInt( p_libvlc, "started-from-file" ) ) )
         intf_Create( p_libvlc, "dbus,none" );
-
-    /* Prevents the power management daemon from suspending the system
-     * when VLC is active */
-    if( config_GetInt( p_libvlc, "inhibit" ) > 0 )
-        intf_Create( p_libvlc, "inhibit,none" );
-#endif
-
-    /*
-     * If needed, load the Xscreensaver interface
-     * Currently, only for X
-     */
-#ifdef HAVE_X11_XLIB_H
-    if( config_GetInt( p_libvlc, "disable-screensaver" ) )
-    {
-        intf_Create( p_libvlc, "screensaver,none" );
-    }
 #endif
 
     if( (config_GetInt( p_libvlc, "file-logging" ) > 0) &&
-- 
1.6.4.3




More information about the vlc-devel mailing list