From 745e08514949701ff2040273c219a4d5c8f29134 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 19 Oct 2009 22:33:40 +0300 Subject: [PATCH] Maemo: the D-Bus inhibit plugin is not supported --- src/libvlc.c | 2 ++ 1 file changed, 2 insertions(+) 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) && -- 2.39.2