summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/include/AwesomePlayer.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-09-03 13:20:33 -0700
committerAndreas Huber <andih@google.com>2010-09-03 13:44:42 -0700
commit8650e1960905097f6f1d6aa462ccb1c93c656834 (patch)
tree176219915f91ffc801201f97d2550d663ac387d9 /media/libstagefright/include/AwesomePlayer.h
parentbd057752e8054ff516b9d2c17b70b666fc791559 (diff)
downloadframeworks_av-8650e1960905097f6f1d6aa462ccb1c93c656834.zip
frameworks_av-8650e1960905097f6f1d6aa462ccb1c93c656834.tar.gz
frameworks_av-8650e1960905097f6f1d6aa462ccb1c93c656834.tar.bz2
Properly buffer a certain amount of data on streaming sources before finishing prepare().
Change-Id: I39bf3c6dafcbe003b51dea4795742dcd8548f207 related-to-bug: 2875110
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r--media/libstagefright/include/AwesomePlayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h
index 55e2c36..f47deb8 100644
--- a/media/libstagefright/include/AwesomePlayer.h
+++ b/media/libstagefright/include/AwesomePlayer.h
@@ -238,6 +238,9 @@ private:
void onCheckAudioStatus();
void onPrepareAsyncEvent();
void abortPrepare(status_t err);
+ void finishAsyncPrepare_l();
+
+ bool getCachedDuration_l(int64_t *durationUs, bool *eos);
status_t finishSetDataSource_l();