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

VAAPI-XCB: cleanup

parent bf097674
......@@ -580,10 +580,10 @@ static void DisplayVASurface(vout_display_t *vd, picture_t *picture)
#define VA_FILTER_SCALING_MASK 0x00000f00
*/
unsigned int flags = VA_FILTER_SCALING_DEFAULT;
/* NOTE: vaCreateContext() specifies VA_PROGRESSIVE */
flags |= picture->b_progressive ? VA_FRAME_PICTURE :
(picture->b_top_field_first ? VA_TOP_FIELD : VA_BOTTOM_FIELD);
msg_Dbg( vd, "Displaying surface id: %d / %p", surface->i_id, picture );
VAStatus status;
status = vaPutSurface(sys->vaconn->p_display, surface->i_id, sys->window,
......
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