summaryrefslogtreecommitdiffstats
path: root/include/media/mediaplayer.h
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2013-08-06 09:44:47 -0700
committerChong Zhang <chz@google.com>2013-08-19 10:53:52 -0700
commitdcb89b3b505522efde173c105a851c412f947178 (patch)
treeeb89386fb07021a6527b35ea3d8ecf80584c73b7 /include/media/mediaplayer.h
parent1cb4e1661e4144cb188c2c79b89804fcb902fd19 (diff)
downloadframeworks_av-dcb89b3b505522efde173c105a851c412f947178.zip
frameworks_av-dcb89b3b505522efde173c105a851c412f947178.tar.gz
frameworks_av-dcb89b3b505522efde173c105a851c412f947178.tar.bz2
MediaPlayer: add listener for raw track data
Bug: 10326117 Change-Id: I2c0bdf8adc67b11f8dc633423bee66897548f181
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 1afd7f7..923c8b2 100644
--- a/include/media/mediaplayer.h
+++ b/include/media/mediaplayer.h
@@ -48,6 +48,7 @@ enum media_event_type {
MEDIA_TIMED_TEXT = 99,
MEDIA_ERROR = 100,
MEDIA_INFO = 200,
+ MEDIA_SUBTITLE_DATA = 201,
};
// Generic error codes for the media player framework. Errors are fatal, the
@@ -176,6 +177,7 @@ enum media_track_type {
MEDIA_TRACK_TYPE_VIDEO = 1,
MEDIA_TRACK_TYPE_AUDIO = 2,
MEDIA_TRACK_TYPE_TIMEDTEXT = 3,
+ MEDIA_TRACK_TYPE_SUBTITLE = 4,
};
// ----------------------------------------------------------------------------