diff options
author | Mike Lockwood <lockwood@android.com> | 2011-01-25 15:20:04 -0800 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-01-25 15:20:04 -0800 |
commit | 0a095d09464ba18e288a3f529410af0f1257ac2a (patch) | |
tree | 1c3810dbf07e83724c4d11cb012dd664669a8623 /include/media | |
parent | 4feffd1a8d95cf3843c06a37160580d30d421d8e (diff) | |
download | frameworks_av-0a095d09464ba18e288a3f529410af0f1257ac2a.zip frameworks_av-0a095d09464ba18e288a3f529410af0f1257ac2a.tar.gz frameworks_av-0a095d09464ba18e288a3f529410af0f1257ac2a.tar.bz2 |
StagefrightMediaScanner: Close metadata retriever after we are done scanning
This prevents the mediaserver from leaking a file descriptor after
the media scanner runs
BUG: 3373546
Change-Id: I82a8bae82306de3da56a5c7da5b03ecf106a4efc
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/stagefright/StagefrightMediaScanner.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/media/stagefright/StagefrightMediaScanner.h b/include/media/stagefright/StagefrightMediaScanner.h index 4437eee..108acb4 100644 --- a/include/media/stagefright/StagefrightMediaScanner.h +++ b/include/media/stagefright/StagefrightMediaScanner.h @@ -22,8 +22,6 @@ namespace android { -struct MediaMetadataRetriever; - struct StagefrightMediaScanner : public MediaScanner { StagefrightMediaScanner(); virtual ~StagefrightMediaScanner(); @@ -35,8 +33,6 @@ struct StagefrightMediaScanner : public MediaScanner { virtual char *extractAlbumArt(int fd); private: - sp<MediaMetadataRetriever> mRetriever; - StagefrightMediaScanner(const StagefrightMediaScanner &); StagefrightMediaScanner &operator=(const StagefrightMediaScanner &); }; |