]> git.sesse.net Git - vlc/commitdiff
Maemo: the D-Bus inhibit plugin is not supported
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 19:33:40 +0000 (22:33 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 19 Oct 2009 19:33:40 +0000 (22:33 +0300)
src/libvlc.c

index 425478160349e6330ad00b5a6093e715e53138b5..f37715125af39931ca378dd6448e00e68602cd57 100644 (file)
@@ -914,10 +914,12 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
              && config_GetInt( p_libvlc, "started-from-file" ) ) )
         intf_Create( p_libvlc, "dbus,none" );
 
+# if !defined (HAVE_MAEMO)
     /* 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
 #endif
 
     if( (config_GetInt( p_libvlc, "file-logging" ) > 0) &&