summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/NuCachedSource2.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-04-19 10:04:08 -0700
committerAndreas Huber <andih@google.com>2011-04-19 10:10:06 -0700
commit7bf8413f91fc072452f315a91618aeef2574d420 (patch)
treebfca52f8d270e6e37c90af65b8eddce1f888c4e5 /media/libstagefright/include/NuCachedSource2.h
parentb158c54511bfb32999525bca9e19f1b438c0bef5 (diff)
downloadframeworks_av-7bf8413f91fc072452f315a91618aeef2574d420.zip
frameworks_av-7bf8413f91fc072452f315a91618aeef2574d420.tar.gz
frameworks_av-7bf8413f91fc072452f315a91618aeef2574d420.tar.bz2
Make sure a read restarts the prefetcher if necessary.
Change-Id: I87cac0e61e4dce7987ddf29c32f51e1672d1bbed related-to-bug: 4286618
Diffstat (limited to 'media/libstagefright/include/NuCachedSource2.h')
-rw-r--r--media/libstagefright/include/NuCachedSource2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libstagefright/include/NuCachedSource2.h b/media/libstagefright/include/NuCachedSource2.h
index 2128682..ed3e265 100644
--- a/media/libstagefright/include/NuCachedSource2.h
+++ b/media/libstagefright/include/NuCachedSource2.h
@@ -96,7 +96,9 @@ private:
status_t seekInternal_l(off64_t offset);
size_t approxDataRemaining_l(status_t *finalStatus);
- void restartPrefetcherIfNecessary_l(bool ignoreLowWaterThreshold = false);
+
+ void restartPrefetcherIfNecessary_l(
+ bool ignoreLowWaterThreshold = false, bool force = false);
DISALLOW_EVIL_CONSTRUCTORS(NuCachedSource2);
};