vaPutSurface on Android: move the drawable to ANativeWindow
[profile/ivi/libva.git] / va / va_android.h
index 796ab63..0193fb0 100644 (file)
@@ -48,7 +48,7 @@ VADisplay vaGetDisplay (
 
 #ifdef __cplusplus
 #ifdef ANDROID
-#include <surfaceflinger/ISurface.h>
+#include <gui/Surface.h>
 using namespace android;
 
 /*
@@ -61,8 +61,8 @@ using namespace android;
  */
 VAStatus vaPutSurface (
     VADisplay dpy,
-    VASurfaceID surface,       
-    sp<ISurface> draw, /* Android Window/Surface */
+    VASurfaceID surface,
+    sp<ANativeWindow> draw, /* Android Native Window */
     short srcx,
     short srcy,
     unsigned short srcw,