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

Commit e62ba9cc authored by xrwu's avatar xrwu
Browse files

libstagefright : fix the bug of wrong value setting for slice-height



Change-Id: I2ad0fa6039fb3b31e7dbfdcf15be4703664da04d
Signed-off-by: default avatarxrwu <xellos.1983@gmail.com>
parent 318dd9b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1495,7 +1495,7 @@ status_t StagefrightRecorder::setupVideoEncoder(
        format->setInt32("width", mVideoWidth);
        format->setInt32("height", mVideoHeight);
        format->setInt32("stride", mVideoWidth);
        format->setInt32("slice-height", mVideoWidth);
        format->setInt32("slice-height", mVideoHeight);
        format->setInt32("color-format", OMX_COLOR_FormatAndroidOpaque);

        // set up time lapse/slow motion for surface source