diff options
author | pmehendale <pmehendale@nvidia.com> | 2011-01-06 14:43:49 -0800 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-01-07 16:14:40 -0800 |
commit | aee6c07b3572bf2510cd9e7d29c454fcfedde31d (patch) | |
tree | 7a337a7a6f343226d2f0b337ee7340cf1a50bb4b /media/libstagefright/include/AwesomePlayer.h | |
parent | 11f8109ad8646d3acd9a0987613229cde59d52c1 (diff) | |
download | frameworks_av-aee6c07b3572bf2510cd9e7d29c454fcfedde31d.zip frameworks_av-aee6c07b3572bf2510cd9e7d29c454fcfedde31d.tar.gz frameworks_av-aee6c07b3572bf2510cd9e7d29c454fcfedde31d.tar.bz2 |
Awesomeplayer : Frame dropping logic change
Changed late frame drop policy, now we are dropping only 1 in 8,
late (> 40ms) frames. Dropping every late frame result in lot of noticible
pauses, usually with peaky bitrate activity these pauses become more prominant.
Dropping few frames is still required to allow overall playback chain,
to regain the performance.
Experimentally decided to drop Max one late frame in 8.
Change-Id: If20848d619a76aaf8179b1e5c3155610e3bc85fd
Diffstat (limited to 'media/libstagefright/include/AwesomePlayer.h')
-rw-r--r-- | media/libstagefright/include/AwesomePlayer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/include/AwesomePlayer.h b/media/libstagefright/include/AwesomePlayer.h index 0c67432..17b83c1 100644 --- a/media/libstagefright/include/AwesomePlayer.h +++ b/media/libstagefright/include/AwesomePlayer.h @@ -151,6 +151,7 @@ private: uint32_t mFlags; uint32_t mExtractorFlags; + uint32_t mSinceLastDropped; int64_t mTimeSourceDeltaUs; int64_t mVideoTimeUs; |