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

Unified Diff: content/renderer/media/pepper_platform_video_decoder.h

Issue 170843004: Pass Client pointer in Initialize() for VDA/VEA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 50e826de Rebase. Created 6 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
Index: content/renderer/media/pepper_platform_video_decoder.h
diff --git a/content/renderer/media/pepper_platform_video_decoder.h b/content/renderer/media/pepper_platform_video_decoder.h
index 83b6487140d224cd561c3422934fcda31d6fc734..f0f2433daedae57c38230916b49a07792bc64c43 100644
--- a/content/renderer/media/pepper_platform_video_decoder.h
+++ b/content/renderer/media/pepper_platform_video_decoder.h
@@ -17,12 +17,13 @@ namespace content {
class PlatformVideoDecoder : public media::VideoDecodeAccelerator,
public media::VideoDecodeAccelerator::Client {
public:
- PlatformVideoDecoder(media::VideoDecodeAccelerator::Client* client,
- int32 command_buffer_route_id);
+ explicit PlatformVideoDecoder(int32 command_buffer_route_id);
virtual ~PlatformVideoDecoder();
// PlatformVideoDecoder (a.k.a. VideoDecodeAccelerator) implementation.
- virtual bool Initialize(media::VideoCodecProfile profile) OVERRIDE;
+ virtual bool Initialize(media::VideoCodecProfile profile,
+ media::VideoDecodeAccelerator::Client* client)
+ OVERRIDE;
virtual void Decode(
const media::BitstreamBuffer& bitstream_buffer) OVERRIDE;
virtual void AssignPictureBuffers(
« no previous file with comments | « content/public/renderer/video_encode_accelerator.cc ('k') | content/renderer/media/pepper_platform_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698