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
442219be
Commit
442219be
authored
Dec 12, 2006
by
Philippe Morin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos for WIN32 compilation of Java bindings.
parent
3a38faa2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
bindings/java/src/playlist-jni.cc
bindings/java/src/playlist-jni.cc
+6
-0
bindings/java/src/video-jni.cc
bindings/java/src/video-jni.cc
+2
-2
No files found.
bindings/java/src/playlist-jni.cc
View file @
442219be
...
...
@@ -26,7 +26,13 @@
/* These are a must*/
#include <jni.h>
#include <vlc/libvlc.h>
#ifdef WIN32
#include <windows.h>
#undef usleep
#define usleep(var) Sleep(var/1000)
#else
#include <unistd.h>
#endif
#include <stdio.h>
/* JVLC internal imports, generated by gcjh */
...
...
bindings/java/src/video-jni.cc
View file @
442219be
...
...
@@ -183,7 +183,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Video__1reparent (JNIEnv *env, job
dsi_win
=
(
JAWT_Win32DrawingSurfaceInfo
*
)
dsi
->
platformInfo
;
drawable
=
reinterpret_cast
<
int
>
(
dsi_win
->
hwnd
);
libvlc_video_set_parent
(
input
,
drawable
,
exception
);
libvlc_video_set_parent
(
(
libvlc_instance_t
*
)
instance
,
drawable
,
exception
);
CHECK_EXCEPTION_FREE
;
...
...
@@ -269,7 +269,7 @@ JNIEXPORT void JNICALL Java_org_videolan_jvlc_Video__1paint (JNIEnv *env, jobjec
dsi_win
=
(
JAWT_Win32DrawingSurfaceInfo
*
)
dsi
->
platformInfo
;
drawable
=
reinterpret_cast
<
int
>
(
dsi_win
->
hwnd
);
libvlc_video_set_parent
(
input
,
drawable
,
exception
);
libvlc_video_set_parent
(
(
libvlc_instance_t
*
)
instance
,
drawable
,
exception
);
CHECK_EXCEPTION_FREE
;
...
...
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