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
181b5884
Commit
181b5884
authored
Dec 09, 2007
by
Philippe Morin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update snapshot method.
parent
18eea45e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
bindings/java/org/videolan/jvlc/Video.java
bindings/java/org/videolan/jvlc/Video.java
+3
-3
bindings/java/org/videolan/jvlc/VideoIntf.java
bindings/java/org/videolan/jvlc/VideoIntf.java
+1
-1
No files found.
bindings/java/org/videolan/jvlc/Video.java
View file @
181b5884
...
@@ -24,7 +24,7 @@ public final class Video implements VideoIntf {
...
@@ -24,7 +24,7 @@ public final class Video implements VideoIntf {
private
native
boolean
_getFullscreen
();
private
native
boolean
_getFullscreen
();
private
native
int
_getHeight
();
private
native
int
_getHeight
();
private
native
int
_getWidth
();
private
native
int
_getWidth
();
private
native
void
_getSnapshot
(
String
filename
);
private
native
void
_getSnapshot
(
String
filename
,
int
width
,
int
height
);
private
native
void
_destroyVideo
();
private
native
void
_destroyVideo
();
private
native
void
_reparent
(
JVLCCanvas
component
);
private
native
void
_reparent
(
JVLCCanvas
component
);
private
native
void
_setSize
(
int
width
,
int
height
);
private
native
void
_setSize
(
int
width
,
int
height
);
...
@@ -47,8 +47,8 @@ public final class Video implements VideoIntf {
...
@@ -47,8 +47,8 @@ public final class Video implements VideoIntf {
/* (non-Javadoc)
/* (non-Javadoc)
* @see org.videolan.jvlc.VideoIntf#getSnapshot(java.lang.String)
* @see org.videolan.jvlc.VideoIntf#getSnapshot(java.lang.String)
*/
*/
public
void
getSnapshot
(
String
filepath
)
throws
VLCException
{
public
void
getSnapshot
(
String
filepath
,
int
width
,
int
height
)
throws
VLCException
{
_getSnapshot
(
filepath
);
_getSnapshot
(
filepath
,
width
,
height
);
}
}
/* (non-Javadoc)
/* (non-Javadoc)
...
...
bindings/java/org/videolan/jvlc/VideoIntf.java
View file @
181b5884
...
@@ -58,7 +58,7 @@ public interface VideoIntf {
...
@@ -58,7 +58,7 @@ public interface VideoIntf {
* If you only give a path, not including the filename, the snapshot will be saved in
* If you only give a path, not including the filename, the snapshot will be saved in
* the specified path using vlc naming conventions.
* the specified path using vlc naming conventions.
*/
*/
void
getSnapshot
(
String
filepath
)
throws
VLCException
;
void
getSnapshot
(
String
filepath
,
int
width
,
int
height
)
throws
VLCException
;
/**
/**
...
...
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