summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorJames Dong <jdong@google.com>2012-02-06 23:46:37 -0800
committerJames Dong <jdong@google.com>2012-02-07 18:32:29 -0800
commit7251673821202960b38742f14d8bfa122a1843d2 (patch)
tree65c225737e4fbf5d703f53d60cec2e57c2015c50 /include/media
parentfb2cfa223b47db3ee46df22dcdb92f4fb013dcdd (diff)
downloadframeworks_base-7251673821202960b38742f14d8bfa122a1843d2.zip
frameworks_base-7251673821202960b38742f14d8bfa122a1843d2.tar.gz
frameworks_base-7251673821202960b38742f14d8bfa122a1843d2.tar.bz2
Enable B frame support in MPEG4Writer
This patch allows us to automatically detect whether ctts box is needed in MPEG4Writer. MPEG4Writer uses ctts version 0 (non-negative offset value) store the composition time offset on a needed basis. Currently, the size of the ctts box is not optimized. Optimization will be addressed in a subsequent patch. o also changed the private method retrieveDecodingTime(bool) in OMXCodec to getDecodingTime() o related-to-bug: 4232183 Change-Id: Ic6dc7b25ecd258c2506ca4b9c25156e922456e51
Diffstat (limited to 'include/media')
-rw-r--r--include/media/stagefright/OMXCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index 4c30e04..e541c18 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -335,7 +335,7 @@ private:
status_t applyRotation();
status_t waitForBufferFilled_l();
- int64_t retrieveDecodingTimeUs(bool isCodecSpecific);
+ int64_t getDecodingTimeUs();
status_t parseAVCCodecSpecificData(
const void *data, size_t size,