diff options
author | wm4 <wm4@nowhere> | 2014-03-17 18:22:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-17 18:22:35 +0100 |
commit | 49d13f76ca727488de8622a8d176b5f71853bc61 (patch) | |
tree | 03a8a9f3ae0d2372075f563ad4220fc571f81e38 /video/out/gl_hwdec_vaglx.c | |
parent | 31fc5e85636f8e7b3bec5f133cb82b78e3c86ddb (diff) | |
download | mpv-49d13f76ca727488de8622a8d176b5f71853bc61.tar.bz2 mpv-49d13f76ca727488de8622a8d176b5f71853bc61.tar.xz |
vaapi: make struct va_surface private
It's not really needed to be public. Other code can just use mp_image.
The only disadvantage is that the other code needs to call an accessor
to get the VASurfaceID.
Diffstat (limited to 'video/out/gl_hwdec_vaglx.c')
-rw-r--r-- | video/out/gl_hwdec_vaglx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_hwdec_vaglx.c b/video/out/gl_hwdec_vaglx.c index 47e7bb6e07..278718c67a 100644 --- a/video/out/gl_hwdec_vaglx.c +++ b/video/out/gl_hwdec_vaglx.c @@ -113,7 +113,7 @@ static int map_image(struct gl_hwdec *hw, struct mp_image *hw_image, return -1; status = vaCopySurfaceGLX(p->display, p->vaglx_surface, - va_surface_id_in_mp_image(hw_image), + va_surface_id(hw_image), va_get_colorspace_flag(hw_image->colorspace)); if (!CHECK_VA_STATUS(p, "vaCopySurfaceGLX()")) return -1; |