Skip to content

Instantly share code, notes, and snippets.

@muesli
Created September 1, 2013 12:57
Show Gist options
  • Save muesli/6404305 to your computer and use it in GitHub Desktop.
Save muesli/6404305 to your computer and use it in GitHub Desktop.
* --no-one-instance patch for phonon-vlc on OSX.
diff --git a/src/utils/libvlc.cpp b/src/utils/libvlc.cpp
index 93ca4ad..1e1582b 100644
--- a/src/utils/libvlc.cpp
+++ b/src/utils/libvlc.cpp
@@ -92,7 +92,7 @@ bool LibVLC::init()
args << "--services-discovery=''";
// Allow multiple starts (one gets to wonder whether that makes a difference).
#if (LIBVLC_VERSION_INT > LIBVLC_VERSION(2, 1, 0, 0) && defined(Q_OS_MAC)) || defined( Q_OS_WIN) || !defined(PHONON_NO_DBUS)
- args << "--no-one-instance";
+// args << "--no-one-instance";
#endif
args << "--no-audio";
args << "--no-video";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment