Commit 6d756cdf authored by Rafaël Carré's avatar Rafaël Carré
Browse files

update egl info - remove duplicate copy/paste

parent 22fa5b8f
......@@ -5,16 +5,10 @@ Some information to reuse in the future if needed the egl-android vout.
#include <android/native_window_jni.h>
// Native android window to display the video.
ANativeWindow *p_nativeWindow;
void Java_vlc_android_LibVLC_setSurface(JNIEnv *env, jobject thiz, jobject surface)
{
p_nativeWindow = ANativeWindow_fromSurface(env, surface);
}
void Java_vlc_android_LibVLC_setSurface(JNIEnv *env, jobject thiz, jobject surface)
{
p_nativeWindow = ANativeWindow_fromSurface(env, surface);
......@@ -24,7 +18,6 @@ void Java_vlc_android_LibVLC_setSurface(JNIEnv *env, jobject thiz, jobject surfa
char psz_pWin[255];
snprintf(psz_pWin, 255, "%i", p_nativeWindow);
const char *argv[] = {"-I", "dummy", "-vvv", "--no-plugins-cache",
"--no-drop-late-frames",
const char *argv[] = { ....,
"--vout", "egl_android",
"--egl-android-window", psz_pWin};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment