Bug 3438258 surface textures
This is sufficient to build, but is not a full implementation.
See bug 3467199 for the real implementation.
Change-Id: Ifc3325fa9b019669bffddfd7bfd10bce57d0a136
diff --git a/libvideoeditor/lvpp/VideoEditorPlayer.cpp b/libvideoeditor/lvpp/VideoEditorPlayer.cpp
index 3e1743e..fe99472 100755
--- a/libvideoeditor/lvpp/VideoEditorPlayer.cpp
+++ b/libvideoeditor/lvpp/VideoEditorPlayer.cpp
@@ -69,6 +69,7 @@
return (!OK);
}
+// needed?
status_t VideoEditorPlayer::setVideoISurface(const sp<ISurface> &surface) {
LOGV("setVideoISurface");
@@ -83,6 +84,13 @@
return OK;
}
+status_t VideoEditorPlayer::setVideoSurfaceTexture(const sp<ISurfaceTexture> &surfaceTexture) {
+ LOGV("setVideoSurfaceTexture");
+
+ mPlayer->setSurfaceTexture(surfaceTexture);
+ return OK;
+}
+
status_t VideoEditorPlayer::prepare() {
LOGV("prepare");
return mPlayer->prepare();