Chromium Code Reviews| Index: media/filters/gpu_video_decoder.h |
| diff --git a/media/filters/gpu_video_decoder.h b/media/filters/gpu_video_decoder.h |
| index a4157b19cf7f4ad7f4360834726c9e5fdd3e8374..5fdd05030525e8132e3d7ed358d462c8e3e938b1 100644 |
| --- a/media/filters/gpu_video_decoder.h |
| +++ b/media/filters/gpu_video_decoder.h |
| @@ -127,6 +127,10 @@ class MEDIA_EXPORT GpuVideoDecoder |
| // Destroy all PictureBuffers in |buffers|, and delete their textures. |
| void DestroyPictureBuffers(PictureBufferMap* buffers); |
| + // Returns true if the video decoder can support |profile| and |coded_size|. |
| + bool IsProfileSupported(const VideoCodecProfile& profile, |
|
wuchengli
2015/03/19 06:19:25
VideoCodecProfile is just an enum. Use VideoCodecP
henryhsu
2015/03/19 10:00:33
Done.
|
| + const gfx::Size& coded_size); |
| + |
| // Assert the contract that this class is operated on the right thread. |
| void DCheckGpuVideoAcceleratorFactoriesTaskRunnerIsCurrent() const; |