Commit d67f57bb authored by Jean-Paul Saman's avatar Jean-Paul Saman

VAAPI-X11: Fix offset in displaying pictures.

parent c77342f8
......@@ -576,7 +576,7 @@ static void DisplayVASurface(vout_display_t *vd, picture_t *picture)
status = vaPutSurface(sys->vaconn->p_display, surface->i_id, sys->window,
vd->source.i_x_offset, vd->source.i_y_offset,
vd->source.i_visible_width, vd->source.i_visible_height,
place.x, place.y, place.width, place.height,
0, 0, place.width, place.height,
NULL, 0, /* clipping */
/* NOTE: vaCreateContext() specifies VA_PROGRESSIVE */
picture->b_progressive ? VA_FRAME_PICTURE :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment