Commit fea85dea authored by Filippo Carone's avatar Filippo Carone

fix jvlc arguments

parent e0bbc196
...@@ -48,18 +48,14 @@ public class JVLC ...@@ -48,18 +48,14 @@ public class JVLC
public JVLC() public JVLC()
{ {
String[] args = new String[1]; String[] args = new String[] {};
args[0] = "jvlc";
instance = createInstance(args); instance = createInstance(args);
mediaList = new MediaList(this); mediaList = new MediaList(this);
} }
public JVLC(String[] args) public JVLC(String[] args)
{ {
String[] myargs = new String[args.length + 1]; instance = createInstance(args);
myargs[0] = "jvlc";
System.arraycopy(args, 0, myargs, 1, args.length);
instance = createInstance(myargs);
} }
public JVLC(String args) public JVLC(String args)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment