Skip to content

Instantly share code, notes, and snippets.

@lfranchi
Created October 13, 2011 01:32
Show Gist options
  • Save lfranchi/1283111 to your computer and use it in GitHub Desktop.
Save lfranchi/1283111 to your computer and use it in GitHub Desktop.
Remove command line arg
diff --git a/src/libvlc.cpp b/src/libvlc.cpp
index a9aa3a1..1a13866 100644
--- a/src/libvlc.cpp
+++ b/src/libvlc.cpp
@@ -99,7 +99,7 @@ bool LibVLC::init()
// 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.
- args << "--no-one-instance";
+ //args << "--no-one-instance";
// Build const char* array
QVarLengthArray<const char*, 64> vlcArgs(args.size());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment