summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-01-25 15:20:04 -0800
committerMike Lockwood <lockwood@android.com>2011-01-25 15:20:04 -0800
commit8151dc3229888109f4ec699eb6311975b51a05b9 (patch)
treee3d6ffb1284966f5091b80ccd0c42a530367114f /include
parent071b2b6739c83d3de806cda5d7be2aba33fde1af (diff)
downloadframeworks_base-8151dc3229888109f4ec699eb6311975b51a05b9.zip
frameworks_base-8151dc3229888109f4ec699eb6311975b51a05b9.tar.gz
frameworks_base-8151dc3229888109f4ec699eb6311975b51a05b9.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')
-rw-r--r--include/media/stagefright/StagefrightMediaScanner.h4
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 &);
};