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

Unified Diff: media/filters/vpx_video_decoder.cc

Issue 2643743002: Mojify demuxers and allow running {Chunk/FFmpeg}Demuxer in a Utility Process (Closed)
Patch Set: Rebase and make sure to unbind mojom::DemuxerPtr on the bound thread during termination Created 3 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/filters/ffmpeg_demuxer.cc ('k') | media/mojo/clients/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/vpx_video_decoder.cc
diff --git a/media/filters/vpx_video_decoder.cc b/media/filters/vpx_video_decoder.cc
index 22bab44e3a28c0d5f76bf11b55510fe4cee42584..db41379ea5cf581669540e85648b26c357190aaf 100644
--- a/media/filters/vpx_video_decoder.cc
+++ b/media/filters/vpx_video_decoder.cc
@@ -499,6 +499,11 @@ bool VpxVideoDecoder::ConfigureDecoder(const VideoDecoderConfig& config) {
}
DCHECK(!memory_pool_);
+
+// TODO(j.isorce): mojify MemoryPool::VP9FrameBuffer
+#if 1
+ memory_pool_ = nullptr;
+#else
memory_pool_ = new MemoryPool();
base::trace_event::MemoryDumpManager::GetInstance()->RegisterDumpProvider(
memory_pool_.get(), "VpxVideoDecoder",
@@ -512,6 +517,7 @@ bool VpxVideoDecoder::ConfigureDecoder(const VideoDecoderConfig& config) {
<< vpx_codec_error(vpx_codec_);
return false;
}
+#endif
}
if (config.format() != PIXEL_FORMAT_YV12A)
« no previous file with comments | « media/filters/ffmpeg_demuxer.cc ('k') | media/mojo/clients/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698