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

Commit 5da491bb authored by Lajos Molnar's avatar Lajos Molnar
Browse files

stagefright: allow P-frames spacing of 0 and 1

Bug: 17387418
Change-Id: Ib966496b4ca220d96fb3741c29002c13cd2db848
parent 90073050
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2313,7 +2313,6 @@ static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) {
        return 0;
    }
    OMX_U32 ret = frameRate * iFramesInterval;
    CHECK(ret > 1);
    return ret;
}

+0 −1
Original line number Diff line number Diff line
@@ -994,7 +994,6 @@ static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) {
        return 0;
    }
    OMX_U32 ret = frameRate * iFramesInterval - 1;
    CHECK(ret > 1);
    return ret;
}