| Index: content/common/gpu/media/vaapi_wrapper.h
|
| diff --git a/content/common/gpu/media/vaapi_wrapper.h b/content/common/gpu/media/vaapi_wrapper.h
|
| index 49e9f04f4cee79bfb6ad721e51a813e5c74e9cb2..036bee4f61d7c05ab8c02749fe8d8343eb3f478c 100644
|
| --- a/content/common/gpu/media/vaapi_wrapper.h
|
| +++ b/content/common/gpu/media/vaapi_wrapper.h
|
| @@ -195,6 +195,9 @@ class CONTENT_EXPORT VaapiWrapper {
|
| // Initialize static data before sandbox is enabled.
|
| static void PreSandboxInitialization();
|
|
|
| + // Get the created surfaces format.
|
| + unsigned int va_surface_format() const { return va_surface_format_; }
|
| +
|
| private:
|
| struct ProfileInfo {
|
| VAProfile va_profile;
|
| @@ -325,6 +328,9 @@ class CONTENT_EXPORT VaapiWrapper {
|
| // Allocated ids for VASurfaces.
|
| std::vector<VASurfaceID> va_surface_ids_;
|
|
|
| + // VA format of surfaces with va_surface_ids_.
|
| + unsigned int va_surface_format_;
|
| +
|
| // Singleton instance of VADisplayState.
|
| static base::LazyInstance<VADisplayState> va_display_state_;
|
|
|
|
|