commit | 2ee9415a8c949d6c7a87114cbdf99d204c349c12 | [log] [tgz] |
---|---|---|
author | Raman Budny <budnyjj@gmail.com> | Wed Feb 24 09:12:13 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 24 11:37:32 2021 |
tree | 9ccccebffb93715594029200e1115ac1d802577a | |
parent | eaedde7e168c9c1ba38c5ca361541ceaab867d4c [diff] |
AndroidVideoDecoder: Ignore format updates with zero dimensions Sometimes c2.qti.vp8.decoder reports format updates with zero frame width / height right after initialization, that leads to the precondition check failure made by SurfaceTextureHelper.setTextureSize. This patch makes AndroidVideoDecoder.reformat to ignore such format updates so as to continue to use this HW decoder. It seems to be safe because this decoder singals one more format update with valid dimensions soon and continue to operate in normal mode. Bug: webrtc:12492 Change-Id: I5155166637bd2d4247d31e608d714e687e0ad1df Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/208222 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#33332}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.