[vlc-devel] commit: Maemo: the D-Bus inhibit plugin is not supported ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Oct 19 21:35:33 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Oct 19 22:33:40 2009 +0300| [745e08514949701ff2040273c219a4d5c8f29134] | committer: Rémi Denis-Courmont 

Maemo: the D-Bus inhibit plugin is not supported

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

 src/libvlc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 4254781..f377151 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) &&




More information about the vlc-devel mailing list