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

Commit c190198e authored by Wonsik Kim's avatar Wonsik Kim Committed by Android (Google) Code Review
Browse files

Merge "stagefright: request IDR on MediaRecorder.resume" into nyc-dev

parents 6e55f31c 4cca134f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -712,6 +712,9 @@ status_t MediaCodecSource::onStart(MetaData *params) {

    if (mStarted) {
        ALOGI("MediaCodecSource (%s) resuming", mIsVideo ? "video" : "audio");
        if (mIsVideo) {
            mEncoder->requestIDRFrame();
        }
        if (mFlags & FLAG_USE_SURFACE_INPUT) {
            resume();
        } else {