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

Commit 14fe42d8 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera2: Temporarily stop pre-allocation of recording stream.

When recordingHint is set, don't pre-allocate recording stream on
preview start.

Bug: 7137947
Change-Id: I06b5f6d7dbb21d4d0747974ba001b0c8929a0b02
parent 47512a7d
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -681,13 +681,8 @@ status_t Camera2Client::startPreviewL(Parameters &params, bool restart) {
        }
        request = &mRecordingRequest;

        res = updateRecordingStream(params);
        if (res != OK) {
            ALOGE("%s: Camera %d: Unable to pre-configure recording "
                    "stream: %s (%d)",
                    __FUNCTION__, mCameraId, strerror(-res), res);
            return res;
        }
        // TODO: Re-enable recording stream creation/update here once issues are
        // resolved

        res = mJpegProcessor->updateStream(params);
        if (res != OK) {