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

Commit 4c55ba45 authored by Santhosh Behara's avatar Santhosh Behara Committed by Linux Build Service Account
Browse files

Stagefright: Allow setting of high-framerates in CameraSource for HSR

Allow setting of high-framerates upto 240fps in CameraSource to
support HSR.

Change-Id: I30cb3b656570de1b615d55c20c0b4f98ae6e0c12
parent 799c90fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -368,7 +368,7 @@ status_t CameraSource::configureCamera(
    }

    if (frameRate != -1) {
        CHECK(frameRate > 0 && frameRate <= 120);
        CHECK(frameRate > 0 && frameRate <= 240);
        const char* supportedFrameRates =
                params->get(CameraParameters::KEY_SUPPORTED_PREVIEW_FRAME_RATES);
        CHECK(supportedFrameRates != NULL);