mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
193c21ac76
Prefer timestamp from the OpenH264 decoder if available. This patch bumps the API version for the GMP plugin API. The OpenH264 library takes advatange of this. It also adds a few quality of life options. One request the GMP library logging be turned on via the "GMPLibrary" log module. One can toggle between single and multi-threaded decoding via media.gmp.decoder.multithreaded. One can toggle between single or batch decoding via media.gmp.decoder.decode_batch. Provided the OpenH264 library supports this, it will now provide the adjusted presentation timestamp from the decoder. This is necessary for encodings with B frames that may be out of order. This corresponds to the SBufferInfo::uiOutYuvTimestamp from the library. If it is not available, we will default to our historical behaviour and use the original presentation timestamp. Additionally, we now assume that H264 frames may also be provided out of order, and we provide a reorder queue to buffer the input similar to the other H264 decoders such as Apple's and Widevine's. This will ensure that regardless of the plugin output, we will provide any necessary reordering. Differential Revision: https://phabricator.services.mozilla.com/D175281 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |