Rename I420VideoFrame to VideoFrame.
This is a mechanical change since it affects so many files. I420VideoFrame -> VideoFrame and reformatted. Rationale: in the next CL I420VideoFrame will get an indication of Pixel Format (I420 for starters) and of storage type: usually UNOWNED, could be SHMEM, and in the near future will be possibly TEXTURE. See https://codereview.chromium.org/1154153003 for the change that happened in Cr. BUG=4730, chromium:440843 R=jiayl@webrtc.org, niklas.enbom@webrtc.org, pthatcher@webrtc.org Review URL: https://webrtc-codereview.appspot.com/52629004 Cr-Commit-Position: refs/heads/master@{#9339}
This commit is contained in:
@ -143,7 +143,7 @@ void GlxRenderer::Resize(size_t width, size_t height) {
|
||||
XConfigureWindow(display_, window_, CWWidth | CWHeight, &wc);
|
||||
}
|
||||
|
||||
void GlxRenderer::RenderFrame(const webrtc::I420VideoFrame& frame,
|
||||
void GlxRenderer::RenderFrame(const webrtc::VideoFrame& frame,
|
||||
int /*render_delay_ms*/) {
|
||||
if (static_cast<size_t>(frame.width()) != width_ ||
|
||||
static_cast<size_t>(frame.height()) != height_) {
|
||||
|
||||
Reference in New Issue
Block a user