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

Unified Diff: media/mojo/clients/mojo_video_decoder.h

Issue 2526953003: Add MediaGpuChannelManager::LookupChannel(). (Closed)
Patch Set: Implement MockGpuVideoAcceleratorFactories::GetCommandBufferRouteId(). Created 3 years, 11 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/gpu/ipc/service/media_gpu_channel_manager.cc ('k') | media/mojo/clients/mojo_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/clients/mojo_video_decoder.h
diff --git a/media/mojo/clients/mojo_video_decoder.h b/media/mojo/clients/mojo_video_decoder.h
index 78d36c324d81a619718d5ee3f7f9ddff83be968b..bb13271206bedef4e8e009d72848cdd327a994eb 100644
--- a/media/mojo/clients/mojo_video_decoder.h
+++ b/media/mojo/clients/mojo_video_decoder.h
@@ -61,13 +61,15 @@ class MojoVideoDecoder final : public VideoDecoder,
// Cleans up callbacks and blocks future calls.
void Stop();
+ // Task runner that the decoder runs on (media thread).
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
- GpuVideoAcceleratorFactories* gpu_factories_;
// Used to pass the remote decoder from the constructor (on the main thread)
// to Initialize() (on the media thread).
mojom::VideoDecoderPtrInfo remote_decoder_info_;
+ GpuVideoAcceleratorFactories* gpu_factories_ = nullptr;
+
InitCB init_cb_;
OutputCB output_cb_;
uint64_t decode_counter_ = 0;
« no previous file with comments | « media/gpu/ipc/service/media_gpu_channel_manager.cc ('k') | media/mojo/clients/mojo_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698