summaryrefslogtreecommitdiffstats
path: root/libvideoeditor
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2012-04-23 13:56:43 -0700
committerMathias Agopian <mathias@google.com>2012-04-23 14:22:07 -0700
commit6f9add864e3513917fd35302b766e26aa40e6818 (patch)
treefe2297763ed3de40ffb9c83c42c458c401144ac0 /libvideoeditor
parent36513e357dfc6c53898d4b4f768c9fd4822f4653 (diff)
downloadframeworks_av-6f9add864e3513917fd35302b766e26aa40e6818.zip
frameworks_av-6f9add864e3513917fd35302b766e26aa40e6818.tar.gz
frameworks_av-6f9add864e3513917fd35302b766e26aa40e6818.tar.bz2
remove dependency on SurfaceTexture::connect()
Change-Id: I97ce29ecfde4df171120a3570db9575b32c8d362
Diffstat (limited to 'libvideoeditor')
-rwxr-xr-xlibvideoeditor/lvpp/NativeWindowRenderer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/libvideoeditor/lvpp/NativeWindowRenderer.cpp b/libvideoeditor/lvpp/NativeWindowRenderer.cpp
index 0f3ea3c..b2c2675 100755
--- a/libvideoeditor/lvpp/NativeWindowRenderer.cpp
+++ b/libvideoeditor/lvpp/NativeWindowRenderer.cpp
@@ -571,10 +571,8 @@ RenderInput::RenderInput(NativeWindowRenderer* renderer, GLuint textureId)
: mRenderer(renderer)
, mTextureId(textureId) {
mST = new SurfaceTexture(mTextureId);
- uint32_t outWidth, outHeight, outTransform;
- mST->connect(NATIVE_WINDOW_API_MEDIA, &outWidth, &outHeight, &outTransform);
-
mSTC = new SurfaceTextureClient(mST);
+ native_window_connect(mSTC.get(), NATIVE_WINDOW_API_MEDIA);
}
RenderInput::~RenderInput() {