Handle SW NV12 frames in WebRtcVideoTrackSource
When hardware acceleration was disabled, the WebRtcVideoTrackSource can receive NV12 frames in software. This patch adds support for the NV12 frames in WebRtcVideoFrameAdapter so that the WebRtcVideoTrackSource can pass those frames safely. with hardware acceleration off and confirmed that it worked. I also confirmed that the NV12 frames in software are used as expected from WebRTC, as they would be if they were from a GMB. Test: https://webrtc.github.io/samples/src/content/peerconnection/pc1/ Bug: 1168948 Change-Id: I5b78ec01fe6ef1c4a4a047bb3fda908ad6813e4b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2645084 Commit-Queue: Evan Shrubsole <eshr@google.com> Reviewed-by:Henrik Boström <hbos@chromium.org> Reviewed-by:
Markus Handell <handellm@google.com> Cr-Commit-Position: refs/heads/master@{#846198}
Showing
Please register or sign in to comment