summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/NuCachedSource2.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-06-11 14:14:52 -0700
committerAndreas Huber <andih@google.com>2010-06-11 14:16:12 -0700
commitd17875a226491e3de60fa32d764a4cc92de7f949 (patch)
tree7f736ca99f509a532a9978e8a12a667c6ac5b70a /media/libstagefright/NuCachedSource2.cpp
parentb55cf746536962d262c3b627e32a37464927b67b (diff)
downloadframeworks_av-d17875a226491e3de60fa32d764a4cc92de7f949.zip
frameworks_av-d17875a226491e3de60fa32d764a4cc92de7f949.tar.gz
frameworks_av-d17875a226491e3de60fa32d764a4cc92de7f949.tar.bz2
Must hold lock here...
Change-Id: I179a5582c9246f78c988f85e2f969f32d547ac89
Diffstat (limited to 'media/libstagefright/NuCachedSource2.cpp')
-rw-r--r--media/libstagefright/NuCachedSource2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/NuCachedSource2.cpp b/media/libstagefright/NuCachedSource2.cpp
index 6727c73..f29e7fb 100644
--- a/media/libstagefright/NuCachedSource2.cpp
+++ b/media/libstagefright/NuCachedSource2.cpp
@@ -267,6 +267,7 @@ void NuCachedSource2::onFetch() {
mFetching = false;
}
} else {
+ Mutex::Autolock autoLock(mLock);
restartPrefetcherIfNecessary_l();
}