Index: media/video/video_decode_accelerator.h |
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h |
index 994d1cb3f5cd6cbd2e16415c61c49e660833a31a..62927eae59fb36e791211544fce0f7c6c3474842 100644 |
--- a/media/video/video_decode_accelerator.h |
+++ b/media/video/video_decode_accelerator.h |
@@ -115,12 +115,15 @@ class MEDIA_EXPORT VideoDecodeAccelerator { |
IMPORT, |
}; |
- Config() = default; |
+ Config(); |
+ Config(const Config& config); |
// Intentional converting constructor. |
// TODO(watk): Make this explicit. |
Config(VideoCodecProfile profile); |
+ ~Config(); |
+ |
std::string AsHumanReadableString() const; |
// The video codec and profile. |
@@ -145,6 +148,10 @@ class MEDIA_EXPORT VideoDecodeAccelerator { |
gfx::Size initial_expected_coded_size = gfx::Size(320, 240); |
OutputMode output_mode = OutputMode::ALLOCATE; |
+ |
+ // The list of picture buffer formats that the client knows how to use. An |
+ // empty list means any format is supported. |
+ std::vector<VideoPixelFormat> supported_output_formats; |
}; |
// Interface for collaborating with picture interface to provide memory for |