summaryrefslogtreecommitdiffstats
path: root/media/libmedia/mediametadataretriever.cpp
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2011-01-06 12:20:35 -0800
committerJames Dong <jdong@google.com>2011-01-12 14:14:11 -0800
commit7f7d52ac18dfc3c6d8f6267dad29306613e9bd0e (patch)
tree5e17f415d44cdba3c8b37a42c487e28e26593a64 /media/libmedia/mediametadataretriever.cpp
parent67988a9ba5a081d14dbd8a663516e1d484d829df (diff)
downloadframeworks_av-7f7d52ac18dfc3c6d8f6267dad29306613e9bd0e.zip
frameworks_av-7f7d52ac18dfc3c6d8f6267dad29306613e9bd0e.tar.gz
frameworks_av-7f7d52ac18dfc3c6d8f6267dad29306613e9bd0e.tar.bz2
Publish MediaMetadataRetriever.java as public API
o Removed setMode() methods and related mode constants o Removed some of the unused the metadata keys o Updated the javadoc o part of a multi-project change. bug - 2433195 Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
Diffstat (limited to 'media/libmedia/mediametadataretriever.cpp')
-rw-r--r--media/libmedia/mediametadataretriever.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/media/libmedia/mediametadataretriever.cpp b/media/libmedia/mediametadataretriever.cpp
index 39b5bc3..8dfcb3b 100644
--- a/media/libmedia/mediametadataretriever.cpp
+++ b/media/libmedia/mediametadataretriever.cpp
@@ -123,17 +123,6 @@ status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t l
return mRetriever->setDataSource(fd, offset, length);
}
-status_t MediaMetadataRetriever::setMode(int mode)
-{
- LOGV("setMode(%d)", mode);
- Mutex::Autolock _l(mLock);
- if (mRetriever == 0) {
- LOGE("retriever is not initialized");
- return INVALID_OPERATION;
- }
- return mRetriever->setMode(mode);
-}
-
sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option)
{
LOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option);