Chromium Code Reviews
DescriptionUpdate WebRtcVideoFrameAdapter to new buffer interface
webrtc::VideoFrameBuffer can now support more than I420 and native
buffers, so the new VideoFrameBuffer::Type() function should be used to
determine what kind of buffer it is, and access to I420 data should be
done by first calling VideoFrameBuffer::ToI420(). The deprecated
functions in WebRtcVideoFrameAdapter will be removed eventually, but
this needs to happen in several steps synced with WebRTC CL:s in order
to not break anything in the process.
Another change with this CL is that WebRtcVideoFrameAdapter::ToI420()
can be called even if the frame is already in I420, it would previously
crash otherwise.
BUG=webrtc:7632
Review-Url: https://codereview.chromium.org/2925313002
Cr-Commit-Position: refs/heads/master@{#478516}
Committed: https://chromium.googlesource.com/chromium/src/+/74bf3d028824e0cb58519bd18839490f89bf7ac1
Patch Set 1 #
Total comments: 2
Messages
Total messages: 20 (15 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||