Index: content/renderer/pepper/pepper_video_decoder_host.cc |
diff --git a/content/renderer/pepper/pepper_video_decoder_host.cc b/content/renderer/pepper/pepper_video_decoder_host.cc |
index 3aea65f00caebf154c86a8251d8038752ba5ac67..d3fb411d87c27bc8df08ff751b2da002fef98e37 100644 |
--- a/content/renderer/pepper/pepper_video_decoder_host.cc |
+++ b/content/renderer/pepper/pepper_video_decoder_host.cc |
@@ -502,8 +502,10 @@ bool PepperVideoDecoderHost::TryFallbackToSoftwareDecoder() { |
min_picture_count_); |
std::unique_ptr<VideoDecoderShim> new_decoder( |
new VideoDecoderShim(this, shim_texture_pool_size)); |
- if (!new_decoder->Initialize(profile_, this)) |
+ if (!new_decoder->Initialize(media::VideoDecodeAccelerator::Config(profile_), |
+ this)) { |
return false; |
+ } |
software_fallback_used_ = true; |
decoder_.reset(new_decoder.release()); |