Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1788)

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.cc

Issue 11269017: Plumb through cropped output size for VideoFrame (Closed) Base URL: https://git.chromium.org/git/chromium/src@git-svn
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« webkit/media/webvideoframe_impl.cc ('K') | « webkit/media/webvideoframe_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.cc
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.cc b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
index beb44d2ae052d7ee41f65b93bf3174c3bd113f31..6ca584c6031aac7d98bd1b89df620c1e145e7f9a 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.cc
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.cc
@@ -2575,7 +2575,7 @@ void PluginInstance::DeliverFrame(PP_Instance instance,
// managed by the PPB_Buffer_Dev, and avoid the extra copy.
scoped_refptr<media::VideoFrame> decoded_frame(
media::VideoFrame::CreateFrame(
- format, frame_size, frame_size,
+ format, frame_size, gfx::Rect(frame_size), frame_size,
base::TimeDelta::FromMicroseconds(
frame_info->tracking_info.timestamp)));
« webkit/media/webvideoframe_impl.cc ('K') | « webkit/media/webvideoframe_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698