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

VAAPI-XCB: Display picture to the display size.

parent 92f80c3f
......@@ -472,6 +472,7 @@ static void DisplayVASurface(vout_display_t *vd, picture_t *picture)
vout_display_place_t place;
vout_display_PlacePicture(&place, &vd->source, vd->cfg, false);
/*
#define VA_FILTER_SCALING_DEFAULT 0x00000000
#define VA_FILTER_SCALING_FAST 0x00000100
......@@ -491,7 +492,7 @@ static void DisplayVASurface(vout_display_t *vd, picture_t *picture)
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 */
flags);
if (status != VA_STATUS_SUCCESS)
......
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