[vlc-devel] [PATCH 1/3] nativewindowpriv: don't connect before ics

Thomas Guillem thomas at gllm.fr
Mon Nov 17 14:43:26 CET 2014


This broke direct rendering on honeycomb.
---
 modules/video_output/android/nativewindowpriv.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/video_output/android/nativewindowpriv.c b/modules/video_output/android/nativewindowpriv.c
index 3c382bb..989236a 100644
--- a/modules/video_output/android/nativewindowpriv.c
+++ b/modules/video_output/android/nativewindowpriv.c
@@ -81,8 +81,6 @@ static int window_connect( ANativeWindow *anw )
 {
 #if ANDROID_API >= 14
     return native_window_api_connect( anw, NATIVE_WINDOW_API_MEDIA );
-#else
-    return native_window_connect( anw, NATIVE_WINDOW_API_EGL );
 #endif
 }
 
@@ -90,8 +88,6 @@ static int window_disconnect( ANativeWindow *anw )
 {
 #if ANDROID_API >= 14
     return native_window_api_disconnect( anw, NATIVE_WINDOW_API_MEDIA );
-#else
-    return native_window_disconnect( anw, NATIVE_WINDOW_API_EGL );
 #endif
 }
 
-- 
2.1.1




More information about the vlc-devel mailing list