Commit 6142ee1b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB-XVideo: fix shared-memory YUY2

parent 2faa3d9d
......@@ -612,7 +612,7 @@ static void Display (vout_display_t *vd, picture_t *pic)
vd->source.i_visible_width,
vd->source.i_visible_height,
/* Dst: */ 0, 0, p_sys->width, p_sys->height,
/* Memory: */ pic->p->i_pitch / pic->p->i_pixel_pitch,
/* Memory: */ vd->source.i_width,
pic->p->i_visible_lines, false);
else
ck = xcb_xv_put_image_checked (p_sys->conn, p_sys->port, p_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