commit | 5da491bb05009e2062d8a98a153594bb3ff15188 | [log] [tgz] |
---|---|---|
author | Lajos Molnar <lajos@google.com> | Thu Sep 04 11:45:26 2014 -0700 |
committer | Lajos Molnar <lajos@google.com> | Thu Sep 04 11:46:37 2014 -0700 |
tree | ed1ab354f31af8448131dc9efdd6eec53bb2260a | |
parent | 9007305003e689362749a264af2eafea80eb12a0 [diff] |
stagefright: allow P-frames spacing of 0 and 1 Bug: 17387418 Change-Id: Ib966496b4ca220d96fb3741c29002c13cd2db848
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index 19a5908..9b03b71 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp
@@ -2313,7 +2313,6 @@ return 0; } OMX_U32 ret = frameRate * iFramesInterval; - CHECK(ret > 1); return ret; }
diff --git a/media/libstagefright/OMXCodec.cpp b/media/libstagefright/OMXCodec.cpp index 78758da..a8806c8 100644 --- a/media/libstagefright/OMXCodec.cpp +++ b/media/libstagefright/OMXCodec.cpp
@@ -994,7 +994,6 @@ return 0; } OMX_U32 ret = frameRate * iFramesInterval - 1; - CHECK(ret > 1); return ret; }