Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Casanowow Life for love
VLC-Android
Commits
43311b3f
Commit
43311b3f
authored
Jan 20, 2012
by
Rafaël Carré
Browse files
remove dead code
parent
8d3be461
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/jni/libvlcjni.c
View file @
43311b3f
...
...
@@ -155,7 +155,6 @@ void Java_org_videolan_vlc_android_LibVLC_attachSurface(JNIEnv *env, jobject thi
jthrowable
exp
;
pthread_mutex_lock
(
&
vout_android_lock
);
//vout_android_ref = (*env)->NewGlobalRef(env, surf);
clz
=
(
*
env
)
->
GetObjectClass
(
env
,
surf
);
fid
=
(
*
env
)
->
GetFieldID
(
env
,
clz
,
"mSurface"
,
"I"
);
if
(
fid
==
NULL
)
{
...
...
@@ -175,7 +174,6 @@ void Java_org_videolan_vlc_android_LibVLC_attachSurface(JNIEnv *env, jobject thi
void
Java_org_videolan_vlc_android_LibVLC_detachSurface
(
JNIEnv
*
env
,
jobject
thiz
)
{
pthread_mutex_lock
(
&
vout_android_lock
);
//(*env)->DeleteGlobalRef(env, vout_android_ref);
vout_android_surf
=
NULL
;
if
(
vout_android_gui
!=
NULL
)
(
*
env
)
->
DeleteGlobalRef
(
env
,
vout_android_gui
);
...
...
Write
Preview
Supports
Markdown
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