Skip to content

Instantly share code, notes, and snippets.

@muesli
Last active January 4, 2016 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muesli/8618253 to your computer and use it in GitHub Desktop.
Save muesli/8618253 to your computer and use it in GitHub Desktop.
phonon-backend-vlc fixes for mac
--- ../phonon-backend-vlc-0.7.1/src/utils/libvlc.cpp 2013-12-06 11:23:05.000000000 +0100
+++ ./src/utils/libvlc.cpp 2014-01-25 16:38:13.528310339 +0100
@@ -94,7 +94,7 @@
// Do not preload services discovery modules, we don't use them.
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)
+#if !defined(Q_OS_MAC) && (defined(Q_OS_WIN) || !defined(PHONON_NO_DBUS))
args << "--no-one-instance";
#endif
args << "--no-audio";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment