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 e7df77819b
commit db0bbd3e91

View File

@@ -83,7 +83,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() {}