summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/VideoFrameScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libmediaplayerservice/VideoFrameScheduler.h')
-rw-r--r--media/libmediaplayerservice/VideoFrameScheduler.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/VideoFrameScheduler.h b/media/libmediaplayerservice/VideoFrameScheduler.h
index 19f0787..84b27b4 100644
--- a/media/libmediaplayerservice/VideoFrameScheduler.h
+++ b/media/libmediaplayerservice/VideoFrameScheduler.h
@@ -71,7 +71,8 @@ private:
nsecs_t mTimes[kHistorySize];
void test();
- void fit(nsecs_t phase, nsecs_t period, size_t numSamples,
+ // returns whether fit was successful
+ bool fit(nsecs_t phase, nsecs_t period, size_t numSamples,
int64_t *a, int64_t *b, int64_t *err);
void prime(size_t numSamples);
};