summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-11-19 15:01:45 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-11-19 15:01:45 -0800
commit8b49e97db9c46c63192989172ea03cd8751f2551 (patch)
tree72e94de4b14b0419be9ef0079ca347b129d7685c /include
parentc5a605240115ad5eb8edcc7976c8083221754634 (diff)
parentf854e0770207e93ef9d1bf6d50ed18537a107ca4 (diff)
downloadframeworks_base-8b49e97db9c46c63192989172ea03cd8751f2551.zip
frameworks_base-8b49e97db9c46c63192989172ea03cd8751f2551.tar.gz
frameworks_base-8b49e97db9c46c63192989172ea03cd8751f2551.tar.bz2
am f854e077: Merge change I8134d6ed into eclair
Merge commit 'f854e0770207e93ef9d1bf6d50ed18537a107ca4' into eclair-plus-aosp * commit 'f854e0770207e93ef9d1bf6d50ed18537a107ca4': DO NOT MERGE: Instead of inserting semi-random delays after submission to surface flinger, delay releasing buffers to the next display time to avoid flickering.
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/MediaPlayerImpl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/media/stagefright/MediaPlayerImpl.h b/include/media/stagefright/MediaPlayerImpl.h
index 53a2088..7adf836 100644
--- a/include/media/stagefright/MediaPlayerImpl.h
+++ b/include/media/stagefright/MediaPlayerImpl.h
@@ -112,7 +112,9 @@ private:
MediaSource *makeShoutcastSource(const char *path);
- void displayOrDiscardFrame(MediaBuffer *buffer, int64_t pts_us);
+ void displayOrDiscardFrame(
+ MediaBuffer **lastBuffer, MediaBuffer *buffer, int64_t pts_us);
+
void populateISurface();
void depopulateISurface();
void sendFrameToISurface(MediaBuffer *buffer);