diff options
author | xrwu <xellos.1983@gmail.com> | 2015-09-23 15:57:39 +0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-11-05 21:16:19 -0800 |
commit | 085729eae6112d5d73f3da39f66ca59bc0603218 (patch) | |
tree | dd1c324f9e42f481a002e1e12479525bb596aef7 | |
parent | 8c130fe49b04220fcb1c33e955b5aca1fdd108a6 (diff) | |
download | frameworks_av-085729eae6112d5d73f3da39f66ca59bc0603218.zip frameworks_av-085729eae6112d5d73f3da39f66ca59bc0603218.tar.gz frameworks_av-085729eae6112d5d73f3da39f66ca59bc0603218.tar.bz2 |
libstagefright : fix the bug of wrong value setting for slice-height
Change-Id: I2ad0fa6039fb3b31e7dbfdcf15be4703664da04d
Signed-off-by: xrwu <xellos.1983@gmail.com>
-rw-r--r-- | media/libmediaplayerservice/StagefrightRecorder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.cpp b/media/libmediaplayerservice/StagefrightRecorder.cpp index 80d5ac2..4257b41 100644 --- a/media/libmediaplayerservice/StagefrightRecorder.cpp +++ b/media/libmediaplayerservice/StagefrightRecorder.cpp @@ -1564,7 +1564,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 |