diff options
author | Jamie Gennis <jgennis@google.com> | 2012-12-11 17:03:12 -0800 |
---|---|---|
committer | Jamie Gennis <jgennis@google.com> | 2012-12-11 17:03:12 -0800 |
commit | ffa92311fa6a80890aa0326012f4c48abc6ef119 (patch) | |
tree | 46427696185180a82c725fae898d8171f76beb29 /libvideoeditor | |
parent | e1cf3c41bd27b5ab7d8e70ef8dd6fcd0f5453568 (diff) | |
download | frameworks_av-ffa92311fa6a80890aa0326012f4c48abc6ef119.zip frameworks_av-ffa92311fa6a80890aa0326012f4c48abc6ef119.tar.gz frameworks_av-ffa92311fa6a80890aa0326012f4c48abc6ef119.tar.bz2 |
stop using a deprecated SurfaceTextureClient ctor
Change-Id: I792277b0d711da22f6b2abb7f1d837450d6af8e2
Diffstat (limited to 'libvideoeditor')
-rwxr-xr-x | libvideoeditor/lvpp/NativeWindowRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvideoeditor/lvpp/NativeWindowRenderer.cpp b/libvideoeditor/lvpp/NativeWindowRenderer.cpp index 2e15ff9..efb45e2 100755 --- a/libvideoeditor/lvpp/NativeWindowRenderer.cpp +++ b/libvideoeditor/lvpp/NativeWindowRenderer.cpp @@ -569,7 +569,7 @@ RenderInput::RenderInput(NativeWindowRenderer* renderer, GLuint textureId) : mRenderer(renderer) , mTextureId(textureId) { mST = new SurfaceTexture(mTextureId); - mSTC = new SurfaceTextureClient(mST); + mSTC = new SurfaceTextureClient(mST->getBufferQueue()); native_window_connect(mSTC.get(), NATIVE_WINDOW_API_MEDIA); } |