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

Unified Diff: media/filters/vpx_video_decoder.cc

Issue 1227383003: Remove memset from VideoFrame and mark buffer as unpoisoned (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dalecurtis@ comments. Created 5 years, 5 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
Index: media/filters/vpx_video_decoder.cc
diff --git a/media/filters/vpx_video_decoder.cc b/media/filters/vpx_video_decoder.cc
index 26b60fa55d749496b122c827963a07eb19cb3ca2..60e5a453c17f091264ac2a934accc48af9e025b6 100644
--- a/media/filters/vpx_video_decoder.cc
+++ b/media/filters/vpx_video_decoder.cc
@@ -503,7 +503,8 @@ void VpxVideoDecoder::CopyVpxImageTo(const vpx_image* vpx_image,
visible_size,
gfx::Rect(visible_size),
config_.natural_size(),
- kNoTimestamp());
+ kNoTimestamp(),
+ false);
video_frame->get()->metadata()->SetInteger(VideoFrameMetadata::COLOR_SPACE,
color_space);
« media/base/video_frame_unittest.cc ('K') | « media/filters/video_renderer_algorithm_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698