OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e568336
)
The original delay after which we dropped a frame was too aggressive. 40ms lateness...
author
Andreas Huber
<andih@google.com>
Mon, 23 Nov 2009 22:02:00 +0000
(14:02 -0800)
committer
Andreas Huber
<andih@google.com>
Mon, 23 Nov 2009 22:04:48 +0000
(14:04 -0800)
media/libstagefright/AwesomePlayer.cpp
patch
|
blob
|
history
diff --git
a/media/libstagefright/AwesomePlayer.cpp
b/media/libstagefright/AwesomePlayer.cpp
index
ed46cea
..
a7a0a12
100644
(file)
--- a/
media/libstagefright/AwesomePlayer.cpp
+++ b/
media/libstagefright/AwesomePlayer.cpp
@@
-572,9
+572,9
@@
void AwesomePlayer::onEvent(int32_t code) {
int64_t latenessUs = nowUs - timeUs;
- if (latenessUs >
2
0000) {
- // We're more than
2
0ms late.
- LOG
V
("we're late by %lld us (%.2f secs)", latenessUs, latenessUs / 1E6);
+ if (latenessUs >
4
0000) {
+ // We're more than
4
0ms late.
+ LOG
I
("we're late by %lld us (%.2f secs)", latenessUs, latenessUs / 1E6);
mVideoBuffer->release();
mVideoBuffer = NULL;