diff options
author | Lajos Molnar <lajos@google.com> | 2014-09-04 11:45:26 -0700 |
---|---|---|
committer | Lajos Molnar <lajos@google.com> | 2014-09-04 11:46:37 -0700 |
commit | 5da491bb05009e2062d8a98a153594bb3ff15188 (patch) | |
tree | ed1ab354f31af8448131dc9efdd6eec53bb2260a /media/libstagefright | |
parent | 9007305003e689362749a264af2eafea80eb12a0 (diff) | |
download | frameworks_av-5da491bb05009e2062d8a98a153594bb3ff15188.zip frameworks_av-5da491bb05009e2062d8a98a153594bb3ff15188.tar.gz frameworks_av-5da491bb05009e2062d8a98a153594bb3ff15188.tar.bz2 |
stagefright: allow P-frames spacing of 0 and 1
Bug: 17387418
Change-Id: Ib966496b4ca220d96fb3741c29002c13cd2db848
Diffstat (limited to 'media/libstagefright')
-rw-r--r-- | media/libstagefright/ACodec.cpp | 1 | ||||
-rw-r--r-- | media/libstagefright/OMXCodec.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
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 @@ static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { 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 @@ static OMX_U32 setPFramesSpacing(int32_t iFramesInterval, int32_t frameRate) { return 0; } OMX_U32 ret = frameRate * iFramesInterval - 1; - CHECK(ret > 1); return ret; } |