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

Commit 51812ec0 authored by Sarthak Aggarwal's avatar Sarthak Aggarwal Committed by Iliyan Malchev
Browse files

Removing hack for framerate setting in Stagefright for encoders.



Ducati binary starting to support frame-rate on i/p port rather than o/p port,
stagefright can start giving frame-rate frame rate on i/p port and 0 on o/p
port.

Change-Id: I70830747e43e6bfcac73f0fb01de0ab0235a7b28
Signed-Off-By: default avatarSarthak <Aggarwal&lt;sarthak@ti.com>
Signed-off-by: default avatarIliyan Malchev <malchev@google.com>
parent 85de77a1
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -976,11 +976,6 @@ void OMXCodec::setVideoInputFormat(
    video_def->nFrameWidth = width;
    video_def->nFrameHeight = height;
    video_def->xFramerate = 0;      // No need for output port
    // FIXME:
    // Revmoe this workaround after work is done.
    if (!strncmp(mComponentName, "OMX.TI.DUCATI1", 14)) {
        video_def->xFramerate = (frameRate << 16);
    }
    video_def->nBitrate = bitRate;  // Q16 format
    video_def->eCompressionFormat = compressionFormat;
    video_def->eColorFormat = OMX_COLOR_FormatUnused;