Commit fea85dea authored by Filippo Carone's avatar Filippo Carone

fix jvlc arguments

parent e0bbc196
......@@ -48,18 +48,14 @@ public class JVLC
public JVLC()
{
String[] args = new String[1];
args[0] = "jvlc";
String[] args = new String[] {};
instance = createInstance(args);
mediaList = new MediaList(this);
}
public JVLC(String[] args)
{
String[] myargs = new String[args.length + 1];
myargs[0] = "jvlc";
System.arraycopy(args, 0, myargs, 1, args.length);
instance = createInstance(myargs);
instance = createInstance(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