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

Commit a6078f7c authored by Wonsik Kim's avatar Wonsik Kim Committed by android-build-merger
Browse files

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

am: c190198e

* commit 'c190198e':
  stagefright: request IDR on MediaRecorder.resume

Change-Id: I90f785fe058749f21c2f22aa8494ab967319750b
parents c943e48f c190198e
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 {