Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
5a0c3a51
Commit
5a0c3a51
authored
Mar 21, 2008
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create a medialist on JVLC creation
parent
61a056a7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
bindings/java/core/src/main/java/org/videolan/jvlc/JVLC.java
bindings/java/core/src/main/java/org/videolan/jvlc/JVLC.java
+15
-2
No files found.
bindings/java/core/src/main/java/org/videolan/jvlc/JVLC.java
View file @
5a0c3a51
...
...
@@ -29,14 +29,14 @@
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
{
...
...
@@ -44,11 +44,14 @@ public class JVLC
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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment