summaryrefslogtreecommitdiffstats
path: root/tests/camera2/camera2_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/camera2/camera2_utils.h')
-rw-r--r--tests/camera2/camera2_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/camera2/camera2_utils.h b/tests/camera2/camera2_utils.h
index 757044b..c846317 100644
--- a/tests/camera2/camera2_utils.h
+++ b/tests/camera2/camera2_utils.h
@@ -161,12 +161,12 @@ class NotifierListener {
};
/**
- * Adapter from an ISurfaceTexture interface to camera2 device stream ops.
+ * Adapter from an IGraphicBufferProducer interface to camera2 device stream ops.
* Also takes care of allocating/deallocating stream in device interface
*/
class StreamAdapter: public camera2_stream_ops {
public:
- StreamAdapter(sp<ISurfaceTexture> consumer);
+ StreamAdapter(sp<IGraphicBufferProducer> consumer);
~StreamAdapter();