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

Commit 6ded6b9d authored by Arun Johnson's avatar Arun Johnson
Browse files

Dolby Vision support to StagefrightRecorder

Bug:241466701

Change-Id: I545c59eecf25cd880f1f610a10946df4c44ae9b3
parent 6ca7e5d7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1966,6 +1966,10 @@ status_t StagefrightRecorder::setupVideoEncoder(
            format->setString("mime", MEDIA_MIMETYPE_VIDEO_HEVC);
            break;

        case VIDEO_ENCODER_DOLBY_VISION:
            format->setString("mime", MEDIA_MIMETYPE_VIDEO_DOLBY_VISION);
            break;

        default:
            CHECK(!"Should not be here, unsupported video encoding.");
            break;