summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
diff options
context:
space:
mode:
authorLajos Molnar <lajos@google.com>2015-03-31 10:06:48 -0700
committerChong Zhang <chz@google.com>2015-04-01 09:42:36 -0700
commitfcd3e94c075e964670d946f6ec5d82d059bf9e09 (patch)
tree04671659ed1853cb36f7e00e76dbc0e4720a2f20 /media/libmediaplayerservice/nuplayer/NuPlayerSource.h
parentac41a6f253a69671f6e018fcc84daf0030615ca9 (diff)
downloadframeworks_av-fcd3e94c075e964670d946f6ec5d82d059bf9e09.zip
frameworks_av-fcd3e94c075e964670d946f6ec5d82d059bf9e09.tar.gz
frameworks_av-fcd3e94c075e964670d946f6ec5d82d059bf9e09.tar.bz2
mediaplayer: ensure secure decoders are instantiated before starting source
Bug: 19984798 Change-Id: Iff13cf03c4ce3141380f4d7ab4a2b1045c5ce747
Diffstat (limited to 'media/libmediaplayerservice/nuplayer/NuPlayerSource.h')
-rw-r--r--media/libmediaplayerservice/nuplayer/NuPlayerSource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerSource.h b/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
index 5a8beb1..d9f14a2 100644
--- a/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
+++ b/media/libmediaplayerservice/nuplayer/NuPlayerSource.h
@@ -55,6 +55,7 @@ struct NuPlayer::Source : public AHandler {
kWhatTimedTextData,
kWhatQueueDecoderShutdown,
kWhatDrmNoLicense,
+ kWhatInstantiateSecureDecoders,
};
// The provides message is used to notify the player about various
@@ -125,6 +126,7 @@ protected:
void notifyFlagsChanged(uint32_t flags);
void notifyVideoSizeChanged(const sp<AMessage> &format = NULL);
+ void notifyInstantiateSecureDecoders(const sp<AMessage> &reply);
void notifyPrepared(status_t err = OK);
private: