[MPlayer-cvslog] r36253 - trunk/libvo/gl_common.c

reimar subversion at mplayerhq.hu
Thu May 9 09:18:48 CEST 2013


Author: reimar
Date: Thu May  9 09:18:48 2013
New Revision: 36253

Log:
Support -wid on Android.

Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	Thu May  9 09:18:47 2013	(r36252)
+++ trunk/libvo/gl_common.c	Thu May  9 09:18:48 2013	(r36253)
@@ -2433,6 +2433,8 @@ static int setGlWindow_egl(MPGLContext *
     vo_screenheight = vo_dheight = h;
     return SET_WINDOW_OK;
   }
+  if (WinID != -1)
+    vo_window = (EGLNativeWindowType)(intptr_t)WinID;
   if (!vo_window)
     vo_window = android_createDisplaySurface();
   if (!vo_window)


More information about the MPlayer-cvslog mailing list