Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 28e6c5fc authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "GenericSource: still feed audio decoder when paused."

parents 0fbeb4d0 89dc2fe6
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -847,10 +847,6 @@ sp<MetaData> NuPlayer::GenericSource::doGetFormatMeta(bool audio) const {

status_t NuPlayer::GenericSource::dequeueAccessUnit(
        bool audio, sp<ABuffer> *accessUnit) {
    if (audio && !mStarted) {
        return -EWOULDBLOCK;
    }

    // If has gone through stop/releaseDrm sequence, we no longer send down any buffer b/c
    // the codec's crypto object has gone away (b/37960096).
    // Note: This will be unnecessary when stop() changes behavior and releases codec (b/35248283).