summaryrefslogtreecommitdiffstats
path: root/include/media/IMediaMetadataRetriever.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2010-12-02 17:42:08 -0800
committerJames Dong <jdong@google.com>2010-12-03 15:32:47 -0800
commit16afe2fb439cab6125bb46a07a8078d4ce1c1ea5 (patch)
tree146e5ad9abfa370d35b2a8912a4887356764b1e2 /include/media/IMediaMetadataRetriever.h
parent1cc73922339a110d7ffc47e8842f958492dd85bf (diff)
downloadframeworks_av-16afe2fb439cab6125bb46a07a8078d4ce1c1ea5.zip
frameworks_av-16afe2fb439cab6125bb46a07a8078d4ce1c1ea5.tar.gz
frameworks_av-16afe2fb439cab6125bb46a07a8078d4ce1c1ea5.tar.bz2
Prepare for publishing MediaMetadataRetriever as public API
step one: o replaced captureFrame with getFrameAtTime o removed getMode bug - 2433195 Change-Id: I38a8cecef29014692f0b08b8818326e3ebb40a12
Diffstat (limited to 'include/media/IMediaMetadataRetriever.h')
-rw-r--r--include/media/IMediaMetadataRetriever.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/media/IMediaMetadataRetriever.h b/include/media/IMediaMetadataRetriever.h
index 9baba8e..e517cf0 100644
--- a/include/media/IMediaMetadataRetriever.h
+++ b/include/media/IMediaMetadataRetriever.h
@@ -33,8 +33,7 @@ public:
virtual status_t setDataSource(const char* srcUrl) = 0;
virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
virtual status_t setMode(int mode) = 0;
- virtual status_t getMode(int* mode) const = 0;
- virtual sp<IMemory> captureFrame() = 0;
+ virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
virtual sp<IMemory> extractAlbumArt() = 0;
virtual const char* extractMetadata(int keyCode) = 0;
};