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

Unified Diff: media/filters/test_video_renderer.h

Issue 27120: Added IsEndOfStream and IsDiscontiguous flags to buffers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « media/base/mock_media_filters.h ('k') | media/filters/video_renderer_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/test_video_renderer.h
===================================================================
--- media/filters/test_video_renderer.h (revision 10301)
+++ media/filters/test_video_renderer.h (working copy)
@@ -31,6 +31,9 @@
scoped_refptr<VideoFrame> frame;
GetCurrentFrame(&frame);
if (frame.get()) {
+ VideoSurface video_surface;
+ EXPECT_TRUE(frame->Lock(&video_surface));
+ frame->Unlock();
if (frame != last_frame_) {
++unique_frames_;
last_frame_ = frame;
« no previous file with comments | « media/base/mock_media_filters.h ('k') | media/filters/video_renderer_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698