diff options
author | Gloria Wang <gwang@google.com> | 2011-05-03 15:59:03 -0700 |
---|---|---|
committer | Gloria Wang <gwang@google.com> | 2011-05-03 16:41:17 -0700 |
commit | 7a1e3e81264189e23a1db2b174e1b5a5d4c7d1c3 (patch) | |
tree | d75e0a639df8f389786d9bdf6c6de1f22729b135 /include/media/mediaplayer.h | |
parent | 10d227074b5a67a2e738d72888ece4dd24537c66 (diff) | |
download | frameworks_av-7a1e3e81264189e23a1db2b174e1b5a5d4c7d1c3.zip frameworks_av-7a1e3e81264189e23a1db2b174e1b5a5d4c7d1c3.tar.gz frameworks_av-7a1e3e81264189e23a1db2b174e1b5a5d4c7d1c3.tar.bz2 |
Initial CL for the timed text support:
- Add support for MP4 timed text
- Add API for app to turn on/off a text track
- Add timed text metadata(language) in the MediaMetadataRetriever
Change-Id: I0055beba38ac761627dbcc6d581ae9582d68bb94
Diffstat (limited to 'include/media/mediaplayer.h')
-rw-r--r-- | include/media/mediaplayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/mediaplayer.h b/include/media/mediaplayer.h index 241626c..cfa4cfd 100644 --- a/include/media/mediaplayer.h +++ b/include/media/mediaplayer.h @@ -125,6 +125,9 @@ enum media_player_states { MEDIA_PLAYER_PLAYBACK_COMPLETE = 1 << 7 }; +enum media_set_parameter_keys { + KEY_PARAMETER_TIMED_TEXT_TRACK_INDEX = 1000, +}; // ---------------------------------------------------------------------------- // ref-counted object for callbacks class MediaPlayerListener: virtual public RefBase |