diff options
author | Sarthak Aggarwal <sarthak@ti.com> | 2011-08-02 10:19:04 +0530 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-08-02 19:01:07 -0700 |
commit | 51812ec0207748b83951c47b9c3aa4ddae1ac6ca (patch) | |
tree | 269a729dc9dc2b58a6a2bf0a4c7443cdad484253 /media/libstagefright | |
parent | 85de77a1c7d8393dfe349567f818a94e83720040 (diff) | |
download | frameworks_base-51812ec0207748b83951c47b9c3aa4ddae1ac6ca.zip frameworks_base-51812ec0207748b83951c47b9c3aa4ddae1ac6ca.tar.gz frameworks_base-51812ec0207748b83951c47b9c3aa4ddae1ac6ca.tar.bz2 |
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: Sarthak Aggarwal<sarthak@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'media/libstagefright')
-rwxr-xr-x | media/libstagefright/OMXCodec.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp index ac73351..a4f3922 100755 --- a/media/libstagefright/OMXCodec.cpp +++ b/media/libstagefright/OMXCodec.cpp @@ -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; |