summaryrefslogtreecommitdiffstats
path: root/include/media/mediaplayer.h
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-07-19 19:18:06 -0700
committerJames Dong <jdong@google.com>2012-07-20 15:28:25 -0700
commitc374dae535b83d9b499dd9fe8f9dabdb8b0ac9fd (patch)
tree9e854a53f611c1a6a08c7ac507037c9fcf49c3c9 /include/media/mediaplayer.h
parent33e6e35b03a726e35203e97550f32154c91d5f13 (diff)
downloadframeworks_av-c374dae535b83d9b499dd9fe8f9dabdb8b0ac9fd.zip
frameworks_av-c374dae535b83d9b499dd9fe8f9dabdb8b0ac9fd.tar.gz
frameworks_av-c374dae535b83d9b499dd9fe8f9dabdb8b0ac9fd.tar.bz2
Added a callback to signal when the rendering of the video frame just occurred
Change-Id: Ifbd78606ffc33483aecebf02cb18e0e52af9624d related-to-bug: 6851811
Diffstat (limited to 'include/media/mediaplayer.h')
-rw-r--r--include/media/mediaplayer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/mediaplayer.h b/include/media/mediaplayer.h
index 1fad383..f7cebc5 100644
--- a/include/media/mediaplayer.h
+++ b/include/media/mediaplayer.h
@@ -99,6 +99,8 @@ enum media_info_type {
// The player was started because it was used as the next player for another
// player, which just completed playback
MEDIA_INFO_STARTED_AS_NEXT = 2,
+ // The player just pushed the very first video frame for rendering
+ MEDIA_INFO_RENDERING_START = 3,
// 7xx
// The video is too complex for the decoder: it can't decode frames fast
// enough. Possibly only the audio plays fine at this stage.