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 | aef79b0676d8f0ee8ef637ec8be5ba73225b038d (patch) | |
tree | e0c9b69d4dcaf6fa7709d3f1f2cac8d4b9ab77e7 /libvideoeditor/lvpp | |
parent | ae162976dda428671af09a8fbc3f03173a7e6f3e (diff) | |
download | frameworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.zip frameworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.tar.gz frameworks_av-aef79b0676d8f0ee8ef637ec8be5ba73225b038d.tar.bz2 |
stop using a deprecated SurfaceTextureClient ctor
Change-Id: I792277b0d711da22f6b2abb7f1d837450d6af8e2
Diffstat (limited to 'libvideoeditor/lvpp')
-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); } |