[vlc-devel] commit: create a medialist on JVLC creation (Filippo Carone )
git version control
git at videolan.org
Fri Mar 21 00:36:24 CET 2008
vlc | branch: master | Filippo Carone <littlejohn at videolan.org> | Fri Mar 21 00:31:58 2008 +0100| [5a0c3a5164cebef2e6111506ac12edb71762b047]
create a medialist on JVLC creation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a0c3a5164cebef2e6111506ac12edb71762b047
---
.../core/src/main/java/org/videolan/jvlc/JVLC.java | 17 +++++++++++++++--
1 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/bindings/java/core/src/main/java/org/videolan/jvlc/JVLC.java b/bindings/java/core/src/main/java/org/videolan/jvlc/JVLC.java
index 7ffaa18..c26691e 100644
--- a/bindings/java/core/src/main/java/org/videolan/jvlc/JVLC.java
+++ b/bindings/java/core/src/main/java/org/videolan/jvlc/JVLC.java
@@ -29,26 +29,29 @@
package org.videolan.jvlc;
+import java.awt.Canvas;
+
import org.videolan.jvlc.internal.LibVlc;
import org.videolan.jvlc.internal.LibVlc.LibVlcInstance;
import org.videolan.jvlc.internal.LibVlc.libvlc_exception_t;
import com.sun.jna.Native;
-import java.awt.Canvas;
-
public class JVLC
{
private final LibVlcInstance instance;
private final LibVlc libvlc = LibVlc.SYNC_INSTANCE;
+
+ private MediaList mediaList;
public JVLC()
{
String[] args = new String[1];
args[0] = "jvlc";
instance = createInstance(args);
+ mediaList = new MediaList(this);
}
public JVLC(String[] args)
@@ -113,4 +116,14 @@ public class JVLC
libvlc.libvlc_release(instance);
super.finalize();
}
+
+ /**
+ * Returns the mediaList.
+ * @return the mediaList
+ */
+ public MediaList getMediaList()
+ {
+ return mediaList;
+ }
+
}
More information about the vlc-devel
mailing list