commit | e03ac51aa16f9aa9902493d61fedacbe05734eba | [log] [tgz] |
---|---|---|
author | jbauch <jbauch@webrtc.org> | Wed Feb 03 13:51:48 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Feb 03 13:51:56 2016 |
tree | 3d1de3e26e5c42716c077e731436b25ee7e5d84d | |
parent | 9dc5928eb2b7653049b1c405485ca4351df28fbc [diff] |
Implement NullVideoDecoder to avoid crash on unsupported decoders. There is a use case with external codec factories that only support encoding but not decoding for a given type. This leads to a crash due to null being registered as codec (after a DCHECK). This CL adds a NullVideoDecoder that is used instead of the null to not crash but log to LS_ERROR. BUG=webrtc:5249 Review URL: https://codereview.webrtc.org/1657023002 Cr-Commit-Position: refs/heads/master@{#11475}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.