Paste P167

Masterwork From Distant Lands
ActivePublic

Authored by sitter on Feb 18 2018, 10:37 AM.
diff --git a/src/utils/libvlc.cpp b/src/utils/libvlc.cpp
index 39e831c..aa882b5 100644
--- a/src/utils/libvlc.cpp
+++ b/src/utils/libvlc.cpp
@@ -90,6 +90,9 @@ bool LibVLC::init()
args << "--no-xlib";
// Do not preload services discovery modules, we don't use them.
args << "--services-discovery=''";
+ // We expect the frontend to handle screensaver / power management
+ // inhibition.
+ args << "--no-disable-screensaver";
// Allow multiple starts (one gets to wonder whether that makes a difference).
#if !defined(Q_OS_MAC) && (defined(Q_OS_WIN) || !defined(PHONON_NO_DBUS))
args << "--no-one-instance";
sitter edited the content of this paste. (Show Details)Feb 18 2018, 10:37 AM
sitter changed the title of this paste from untitled to Masterwork From Distant Lands.
sitter updated the paste's language from autodetect to autodetect.