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

Commit 0be70d91 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "libstagefright: call release encoder instead of signalEOS" into av-aosp.lnx.2.0-dev

parents 593be39e d35e6649
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -969,13 +969,14 @@ void MediaCodecSource::onMessageReceived(const sp<AMessage> &msg) {
             break;
        }

        signalEOS();
        releaseEncoder();

        if (!(mFlags & FLAG_USE_SURFACE_INPUT)) {
            ALOGV("source (%s) stopping", mIsVideo ? "video" : "audio");
            mPuller->interruptSource();
            ALOGV("source (%s) stopped", mIsVideo ? "video" : "audio");
        }
        signalEOS();
    }

    case kWhatPause: