Commit ee516160 authored by Filippo Carone's avatar Filippo Carone

new convenience constructor added

parent 85dfdfdd
...@@ -62,6 +62,11 @@ public class JVLC ...@@ -62,6 +62,11 @@ public class JVLC
instance = createInstance(myargs); instance = createInstance(myargs);
} }
public JVLC(String args)
{
this(args.split(" "));
}
public MediaInstance play(String media) public MediaInstance play(String media)
{ {
MediaDescriptor mediaDescriptor = new MediaDescriptor(this, media); MediaDescriptor mediaDescriptor = new MediaDescriptor(this, media);
......
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