Loading media/libmediaplayerservice/nuplayer/NuPlayer.cpp +8 −7 Original line number Diff line number Diff line Loading @@ -1230,7 +1230,6 @@ status_t NuPlayer::feedDecoderInputData(bool audio, const sp<AMessage> &msg) { mTimeDiscontinuityPending = mTimeDiscontinuityPending || timeChange; if (formatChange || timeChange) { if (mFlushingAudio == NONE && mFlushingVideo == NONE) { // And we'll resume scanning sources once we're done // flushing. Loading @@ -1239,6 +1238,8 @@ status_t NuPlayer::feedDecoderInputData(bool audio, const sp<AMessage> &msg) { &NuPlayer::performScanSources)); } if (formatChange || timeChange) { sp<AMessage> newFormat = mSource->getFormat(audio); sp<Decoder> &decoder = audio ? mAudioDecoder : mVideoDecoder; if (formatChange && !decoder->supportsSeamlessFormatChange(newFormat)) { Loading Loading
media/libmediaplayerservice/nuplayer/NuPlayer.cpp +8 −7 Original line number Diff line number Diff line Loading @@ -1230,7 +1230,6 @@ status_t NuPlayer::feedDecoderInputData(bool audio, const sp<AMessage> &msg) { mTimeDiscontinuityPending = mTimeDiscontinuityPending || timeChange; if (formatChange || timeChange) { if (mFlushingAudio == NONE && mFlushingVideo == NONE) { // And we'll resume scanning sources once we're done // flushing. Loading @@ -1239,6 +1238,8 @@ status_t NuPlayer::feedDecoderInputData(bool audio, const sp<AMessage> &msg) { &NuPlayer::performScanSources)); } if (formatChange || timeChange) { sp<AMessage> newFormat = mSource->getFormat(audio); sp<Decoder> &decoder = audio ? mAudioDecoder : mVideoDecoder; if (formatChange && !decoder->supportsSeamlessFormatChange(newFormat)) { Loading