summaryrefslogtreecommitdiffstats
path: root/media/tests/players/invoke_mock_media_player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'media/tests/players/invoke_mock_media_player.cpp')
-rw-r--r--media/tests/players/invoke_mock_media_player.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/tests/players/invoke_mock_media_player.cpp b/media/tests/players/invoke_mock_media_player.cpp
index 1289dfa..a94fedb 100644
--- a/media/tests/players/invoke_mock_media_player.cpp
+++ b/media/tests/players/invoke_mock_media_player.cpp
@@ -26,7 +26,7 @@
using android::INVALID_OPERATION;
using android::Surface;
-using android::ISurfaceTexture;
+using android::IGraphicBufferProducer;
using android::MediaPlayerBase;
using android::OK;
using android::Parcel;
@@ -69,7 +69,7 @@ class Player: public MediaPlayerBase
virtual status_t setDataSource(int fd, int64_t offset, int64_t length) {return OK;}
virtual status_t setVideoSurfaceTexture(
- const sp<ISurfaceTexture>& surfaceTexture) {return OK;}
+ const sp<IGraphicBufferProducer>& bufferProducer) {return OK;}
virtual status_t prepare() {return OK;}
virtual status_t prepareAsync() {return OK;}
virtual status_t start() {return OK;}