diff options
author | Andreas Huber <andih@google.com> | 2010-03-10 10:55:35 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-03-10 10:55:35 -0800 |
commit | 1ce986767ae5998ece6810c2933d0b274c529744 (patch) | |
tree | 6458609eb8489dbe0f656783e4e65bc84290fff2 /include/media | |
parent | f53774bce6f31ac0ae3dd21ab41aa607e548e703 (diff) | |
download | frameworks_base-1ce986767ae5998ece6810c2933d0b274c529744.zip frameworks_base-1ce986767ae5998ece6810c2933d0b274c529744.tar.gz frameworks_base-1ce986767ae5998ece6810c2933d0b274c529744.tar.bz2 |
Instead of instantiating StagefrightMetadataRetriever directly, instantiate a MediaMetadataRetriever which will do-the-right-thing(tm) even for .wma/.wmv/.asf files.
Change-Id: Ibda4b5268514934f14a3d49a564902bc670f4384
related-to-bug: 2074137
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/StagefrightMediaScanner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/media/stagefright/StagefrightMediaScanner.h b/include/media/stagefright/StagefrightMediaScanner.h index af125dc..4437eee 100644 --- a/include/media/stagefright/StagefrightMediaScanner.h +++ b/include/media/stagefright/StagefrightMediaScanner.h @@ -22,7 +22,7 @@ namespace android { -struct StagefrightMetadataRetriever; +struct MediaMetadataRetriever; struct StagefrightMediaScanner : public MediaScanner { StagefrightMediaScanner(); @@ -35,7 +35,7 @@ struct StagefrightMediaScanner : public MediaScanner { virtual char *extractAlbumArt(int fd); private: - sp<StagefrightMetadataRetriever> mRetriever; + sp<MediaMetadataRetriever> mRetriever; StagefrightMediaScanner(const StagefrightMediaScanner &); StagefrightMediaScanner &operator=(const StagefrightMediaScanner &); |