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

Unified Diff: media/base/video_frame.h

Issue 187573006: Allow wrapping a media::VideoFrame with a new view_rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « no previous file | media/base/video_frame.cc » ('j') | media/base/video_frame_pool.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame.h
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index 0ff6f9856ead06c2eeaa6380549e3ac05b116156..15d62fc77acaed2648bc22e1a55c9a60215a27ec 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -153,6 +153,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
// gets destroyed.
static scoped_refptr<VideoFrame> WrapVideoFrame(
const scoped_refptr<VideoFrame>& frame,
+ const gfx::Rect& visible_rect,
Ami GONE FROM CHROMIUM 2014/03/05 16:23:42 the impl makes me think the doco for this function
perkj_chrome 2014/03/05 16:39:49 sub size of of codec_size() right? I DCHECK(IsVa
const base::Closure& no_longer_needed_cb);
// Creates a frame which indicates end-of-stream.
« no previous file with comments | « no previous file | media/base/video_frame.cc » ('j') | media/base/video_frame_pool.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698