Pass the raw size of pixel data instead of valid area (fixes issue #2733)

This commit is contained in:
Masako Toda 2019-11-26 18:29:27 +00:00 committed by Marshall Greenblatt
parent bb006b46e6
commit a90c9f9c3e
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ void CefVideoConsumerOSR::OnFrameCaptured(
damage_rect = content_rect;
}
view_->OnPaint(damage_rect, content_rect.size(), pixels);
view_->OnPaint(damage_rect, info->coded_size, pixels);
}
void CefVideoConsumerOSR::OnStopped() {}