| 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 7be2b6eedbe38d3f5638289e0993776113180feb..8951702c1eb4a72cf9ecf742b9d5eb7be6b297c9 100644
|
| --- a/content/common/gpu/media/vaapi_wrapper.h
|
| +++ b/content/common/gpu/media/vaapi_wrapper.h
|
| @@ -77,16 +77,14 @@
|
|
|
| ~VaapiWrapper();
|
|
|
| - // Create |num_surfaces| backing surfaces in driver for VASurfaces of
|
| - // |va_format|, each of size |size|. Returns true when successful, with the
|
| - // created IDs in |va_surfaces| to be managed and later wrapped in
|
| - // VASurfaces.
|
| + // Create |num_surfaces| backing surfaces in driver for VASurfaces, each
|
| + // of size |size|. Returns true when successful, with the created IDs in
|
| + // |va_surfaces| to be managed and later wrapped in VASurfaces.
|
| // The client must DestroySurfaces() each time before calling this method
|
| // again to free the allocated surfaces first, but is not required to do so
|
| // at destruction time, as this will be done automatically from
|
| // the destructor.
|
| - bool CreateSurfaces(unsigned int va_format,
|
| - const gfx::Size& size,
|
| + bool CreateSurfaces(const gfx::Size& size,
|
| size_t num_surfaces,
|
| std::vector<VASurfaceID>* va_surfaces);
|
|
|
|
|