Loading media/libmediaplayerservice/nuplayer/NuPlayer.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -1201,7 +1201,9 @@ status_t NuPlayer::instantiateDecoder(bool audio, sp<DecoderBase> *decoder) { CHECK(format->findString("mime", &mime)); sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, id()); if (mCCDecoder == NULL) { mCCDecoder = new CCDecoder(ccNotify); } if (mSourceFlags & Source::FLAG_SECURE) { format->setInt32("secure", true); Loading Loading
media/libmediaplayerservice/nuplayer/NuPlayer.cpp +3 −1 Original line number Diff line number Diff line Loading @@ -1201,7 +1201,9 @@ status_t NuPlayer::instantiateDecoder(bool audio, sp<DecoderBase> *decoder) { CHECK(format->findString("mime", &mime)); sp<AMessage> ccNotify = new AMessage(kWhatClosedCaptionNotify, id()); if (mCCDecoder == NULL) { mCCDecoder = new CCDecoder(ccNotify); } if (mSourceFlags & Source::FLAG_SECURE) { format->setInt32("secure", true); Loading