| Index: media/gpu/media_foundation_video_encode_accelerator_win.h
|
| diff --git a/media/gpu/media_foundation_video_encode_accelerator_win.h b/media/gpu/media_foundation_video_encode_accelerator_win.h
|
| index cd67630909ec02e6e250003b35aa0d4e06d7f87c..1720a78b08bf4dca6826362a13c7221b332748d9 100644
|
| --- a/media/gpu/media_foundation_video_encode_accelerator_win.h
|
| +++ b/media/gpu/media_foundation_video_encode_accelerator_win.h
|
| @@ -76,6 +76,10 @@ class MEDIA_GPU_EXPORT MediaFoundationVideoEncodeAccelerator
|
| // Initializes encoder parameters for real-time use.
|
| bool SetEncoderModes();
|
|
|
| + // Returns true if we can initialize input and output samples with the given
|
| + // frame size, otherwise false.
|
| + bool IsResolutionSupported(const gfx::Size& size);
|
| +
|
| // Helper function to notify the client of an error on
|
| // |main_client_task_runner_|.
|
| void NotifyError(VideoEncodeAccelerator::Error error);
|
|
|