diff options
author | Chong Zhang <chz@google.com> | 2014-06-11 14:45:31 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2014-06-13 10:17:23 -0700 |
commit | 404fced9bfa8fa423ee210a271ca051ffd1bec13 (patch) | |
tree | fe0cf90c5346cdcd2fcc6a78a8c245018c5f6b55 /media/libmediaplayerservice/nuplayer/NuPlayer.h | |
parent | 31dcd338b3826928646d77f23f977ecdd52598a3 (diff) | |
download | frameworks_av-404fced9bfa8fa423ee210a271ca051ffd1bec13.zip frameworks_av-404fced9bfa8fa423ee210a271ca051ffd1bec13.tar.gz frameworks_av-404fced9bfa8fa423ee210a271ca051ffd1bec13.tar.bz2 |
refactor getTrackInfo()
(this is in preparation for supporting other cc source)
- split into two methods: getTrackCount() and getTrackInfo()
- move track info parcelling to NuPlayer
- parcel in the mime type of the subtitle format
Bug: 15470448
Change-Id: If00724d8c3a2b2319cb9c5f29d3fe76347bfe947
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/NuPlayer.h')
-rw-r--r-- | media/libmediaplayerservice/nuplayer/NuPlayer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayer.h b/media/libmediaplayerservice/nuplayer/NuPlayer.h index f1d3d55..f95cc11 100644 --- a/media/libmediaplayerservice/nuplayer/NuPlayer.h +++ b/media/libmediaplayerservice/nuplayer/NuPlayer.h @@ -24,6 +24,7 @@ namespace android { +struct ABuffer; struct MetaData; struct NuPlayerDriver; @@ -189,6 +190,10 @@ private: void queueDecoderShutdown( bool audio, bool video, const sp<AMessage> &reply); + void sendSubtitleData(const sp<ABuffer> &buffer, int32_t baseIndex); + + void writeTrackInfo(Parcel* reply, const sp<AMessage> format) const; + DISALLOW_EVIL_CONSTRUCTORS(NuPlayer); }; |