d0a569e14d
when the dbus daemon is running Fix Help->About->Thanks dialog Unbreak after xulrunner update (patches adapted from archlinux) OK ajacoutot@, landry@
30 lines
948 B
Plaintext
30 lines
948 B
Plaintext
$OpenBSD: patch-src_libvlc_c,v 1.2 2010/06/17 07:42:16 dcoppa Exp $
|
|
--- src/libvlc.c.orig Sun Mar 7 19:38:03 2010
|
|
+++ src/libvlc.c Wed May 26 16:42:36 2010
|
|
@@ -906,21 +906,25 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i
|
|
&& config_GetInt( p_libvlc, "started-from-file" ) ) )
|
|
libvlc_InternalAddIntf( p_libvlc, "dbus,none" );
|
|
|
|
+#if 0
|
|
/* Prevents the power management daemon from suspending the system
|
|
* when VLC is active */
|
|
if( config_GetInt( p_libvlc, "inhibit" ) > 0 )
|
|
libvlc_InternalAddIntf( p_libvlc, "inhibit,none" );
|
|
#endif
|
|
+#endif
|
|
|
|
/*
|
|
* If needed, load the Xscreensaver interface
|
|
* Currently, only for X
|
|
*/
|
|
#ifdef HAVE_X11_XLIB_H
|
|
+#if 0
|
|
if( config_GetInt( p_libvlc, "disable-screensaver" ) )
|
|
{
|
|
libvlc_InternalAddIntf( p_libvlc, "screensaver,none" );
|
|
}
|
|
+#endif
|
|
#endif
|
|
|
|
if( (config_GetInt( p_libvlc, "file-logging" ) > 0) &&
|