From: RĂ©mi Denis-Courmont Date: Mon, 19 Oct 2009 19:33:40 +0000 (+0300) Subject: Maemo: the D-Bus inhibit plugin is not supported X-Git-Tag: 1.1.0-ff~2766 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=745e08514949701ff2040273c219a4d5c8f29134;p=vlc Maemo: the D-Bus inhibit plugin is not supported --- diff --git a/src/libvlc.c b/src/libvlc.c index 4254781603..f37715125a 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -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) &&