diff options
author | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2010-08-09 09:46:40 +0000 |
---|---|---|
committer | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2010-08-09 09:46:40 +0000 |
commit | eed568a69dc1e4a7e0aa3adb6aafdd1eb7ecfb2e (patch) | |
tree | 035efaa6f320f89031d5c8431434b40481f7ff36 | |
parent | aadac15c08535b24be0f4f773776aa1d2d90d67a (diff) |
Comments.
-rw-r--r-- | src/vdpau_video_glx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vdpau_video_glx.c b/src/vdpau_video_glx.c index 0e04497..fbd29a7 100644 --- a/src/vdpau_video_glx.c +++ b/src/vdpau_video_glx.c @@ -342,6 +342,7 @@ associate_glx_surface( if (!obj_glx_surface->gl_output) return VA_STATUS_ERROR_ALLOCATION_FAILED; + /* XXX: use multiple output surfaces? */ VdpStatus vdp_status; vdp_status = vdpau_output_surface_create( driver_data, @@ -376,6 +377,7 @@ associate_glx_surface( dst_rect.width = obj_surface->width; dst_rect.height = obj_surface->height; + /* Render the video surface to the output surface */ va_status = render_surface( driver_data, obj_surface, @@ -387,6 +389,7 @@ associate_glx_surface( if (va_status != VA_STATUS_SUCCESS) return va_status; + /* Render subpictures to the output surface, applying scaling */ va_status = render_subpictures( driver_data, obj_surface, |