summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andreas Huber <andih@google.com> 2010-06-11 14:14:52 -0700
committer Andreas Huber <andih@google.com> 2010-06-11 14:16:12 -0700
commit9e937269a6ae45435fe7a66e998177bf5a16171c (patch)
tree66bf345617ccd56e1d7a70f032a2cf0f808c2bc6
parent9f8cc518e14c7a34bc52da712afbf02d84585f67 (diff)
Must hold lock here...
Change-Id: I179a5582c9246f78c988f85e2f969f32d547ac89
-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 6727c734dc97..f29e7fb18005 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();
}