Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
08e228e2
Commit
08e228e2
authored
Nov 01, 2006
by
Filippo Carone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setSize native function signature fixed
parent
f4fd4afc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
bindings/java/VLCExample.java
bindings/java/VLCExample.java
+5
-1
bindings/java/src/video-jni.cc
bindings/java/src/video-jni.cc
+2
-1
No files found.
bindings/java/VLCExample.java
View file @
08e228e2
...
@@ -50,6 +50,10 @@ public class VLCExample
...
@@ -50,6 +50,10 @@ public class VLCExample
System
.
out
.
print
(
"Taking snapshot... "
);
System
.
out
.
print
(
"Taking snapshot... "
);
jvlc
.
video
.
getSnapshot
(
System
.
getProperty
(
"user.dir"
)
+
"/snap.png"
);
jvlc
.
video
.
getSnapshot
(
System
.
getProperty
(
"user.dir"
)
+
"/snap.png"
);
System
.
out
.
println
(
"taken. (see "
+
System
.
getProperty
(
"user.dir"
)
+
"/snap.png )"
);
System
.
out
.
println
(
"taken. (see "
+
System
.
getProperty
(
"user.dir"
)
+
"/snap.png )"
);
Thread
.
sleep
(
2000
);
System
.
out
.
println
(
"Resizing to 300x300"
);
jvlc
.
video
.
setSize
(
300
,
300
);
}
}
System
.
out
.
print
(
"Muting..."
);
System
.
out
.
print
(
"Muting..."
);
jvlc
.
audio
.
setMute
(
true
);
jvlc
.
audio
.
setMute
(
true
);
...
...
bindings/java/src/video-jni.cc
View file @
08e228e2
...
@@ -221,7 +221,8 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Video__1reparent (JNIEnv *env, job
...
@@ -221,7 +221,8 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Video__1reparent (JNIEnv *env, job
awt
.
FreeDrawingSurface
(
ds
);
awt
.
FreeDrawingSurface
(
ds
);
}
}
JNIEXPORT
void
JNICALL
Java_org_videolan_jvlc_Video__1setSize__II
(
JNIEnv
*
env
,
jobject
_this
,
jint
width
,
jint
height
)
JNIEXPORT
void
JNICALL
Java_org_videolan_jvlc_Video__1setSize
(
JNIEnv
*
env
,
jobject
_this
,
jint
width
,
jint
height
)
{
{
INIT_FUNCTION
;
INIT_FUNCTION
;
...
...
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