Chromium Code Reviews| Index: media/video/video_decode_accelerator.h |
| diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h |
| index e2bcdf64855fdf3455fc0a3b73ae2b59c2e928e6..2c2a6a9f2d455e8d94ff55712ab5fd5800f1916e 100644 |
| --- a/media/video/video_decode_accelerator.h |
| +++ b/media/video/video_decode_accelerator.h |
| @@ -31,6 +31,17 @@ class MEDIA_EXPORT VideoDecodeAccelerator { |
| VideoCodecProfile profile; |
| gfx::Size max_resolution; |
| gfx::Size min_resolution; |
| + |
| + // Flags that can be passed when providing picture buffers. |
|
Pawel Osciak
2015/12/04 11:09:45
Should this be changed?
liberato (no reviews please)
2015/12/04 18:28:58
Done.
|
| + enum ProfileFlags { |
| + kNoFlags = 0, |
| + |
| + // If set, then the VDA makes no guarantees that it won't stall before |
| + // sending all the picture buffers to the client via PictureReady. |
| + kCanStallAnytime = 1 << 0, |
| + }; |
| + |
| + ProfileFlags flags; |
| }; |
| using SupportedProfiles = std::vector<SupportedProfile>; |