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
581d6817
Commit
581d6817
authored
Jul 21, 2008
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jvlc: VLCExample updated
parent
8dc81141
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
bindings/java/core/src/main/java/org/videolan/jvlc/example/VLCExample.java
...e/src/main/java/org/videolan/jvlc/example/VLCExample.java
+2
-3
No files found.
bindings/java/core/src/main/java/org/videolan/jvlc/example/VLCExample.java
View file @
581d6817
...
...
@@ -4,9 +4,8 @@ import org.videolan.jvlc.Audio;
import
org.videolan.jvlc.JVLC
;
import
org.videolan.jvlc.MediaDescriptor
;
import
org.videolan.jvlc.MediaPlayer
;
import
org.videolan.jvlc.VLCException
;
import
org.videolan.jvlc.Video
;
import
org.videolan.jvlc.event.Media
Instance
Listener
;
import
org.videolan.jvlc.event.Media
Player
Listener
;
public
class
VLCExample
...
...
@@ -33,7 +32,7 @@ public class VLCExample
MediaDescriptor
mediaDescriptor
=
new
MediaDescriptor
(
jvlc
,
"/home/carone/apps/a.avi"
);
MediaPlayer
mediaInstance
=
mediaDescriptor
.
getMediaInstance
();
mediaInstance
.
addListener
(
new
Media
Instance
Listener
()
mediaInstance
.
addListener
(
new
Media
Player
Listener
()
{
public
void
endReached
(
MediaPlayer
mediaInstance
)
...
...
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