summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/NuMediaExtractor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/NuMediaExtractor.h b/include/media/stagefright/NuMediaExtractor.h
index d46ce36..e197134 100644
--- a/include/media/stagefright/NuMediaExtractor.h
+++ b/include/media/stagefright/NuMediaExtractor.h
@@ -22,6 +22,7 @@
#include <utils/KeyedVector.h>
#include <utils/RefBase.h>
#include <utils/String8.h>
+#include <utils/threads.h>
#include <utils/Vector.h>
namespace android {
@@ -81,6 +82,8 @@ private:
uint32_t mTrackFlags; // bitmask of "TrackFlags"
};
+ mutable Mutex mLock;
+
sp<DataSource> mDataSource;
sp<MediaExtractor> mImpl;