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

Unified Diff: media/filters/vpx_video_decoder.cc

Issue 1267003004: Revert to zero-initializing buffers for FFmpegVideoDecoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 ef60cfe013a9b34404d1fc7d6eb7b08de3f9e6e7..8d4addb059d3d193300d0b62712f4081e35d8f01 100644
--- a/media/filters/vpx_video_decoder.cc
+++ b/media/filters/vpx_video_decoder.cc
@@ -548,7 +548,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.h ('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