From 15a89e6b48e9cd0112efcfd903843c5912e26567 Mon Sep 17 00:00:00 2001 From: James Dong Date: Mon, 23 Jul 2012 15:00:37 -0700 Subject: Added MEDIA_INFO_VIDEO_RENDERING_START as an informational event o MEDIA_INFO_VIDEO_RENDERING_START indicates that the player just pushed the very first video frame of a video source for rendering. Change-Id: I32dad93990f5d48b70fc79d841ca3ce3b1af4027 related-to-bug: 6851811 --- media/java/android/media/MediaPlayer.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'media') diff --git a/media/java/android/media/MediaPlayer.java b/media/java/android/media/MediaPlayer.java index 870a4a9..a25d934 100644 --- a/media/java/android/media/MediaPlayer.java +++ b/media/java/android/media/MediaPlayer.java @@ -2319,6 +2319,11 @@ public class MediaPlayer */ public static final int MEDIA_INFO_STARTED_AS_NEXT = 2; + /** The player just pushed the very first video frame for rendering. + * @see android.media.MediaPlayer.OnInfoListener + */ + public static final int MEDIA_INFO_VIDEO_RENDERING_START = 3; + /** The video is too complex for the decoder: it can't decode frames fast * enough. Possibly only the audio plays fine at this stage. * @see android.media.MediaPlayer.OnInfoListener @@ -2374,6 +2379,7 @@ public class MediaPlayer *