Commit 46de7807 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Xvideo: fix SHM line count for videos with unaligned height

parent 660d9ff5
......@@ -583,7 +583,7 @@ static void Display (vout_display_t *vd, picture_t *pic)
/* Dst: */ 0, 0, p_sys->width, p_sys->height,
/* Memory: */ pic->p->i_pitch / pic->p->i_pixel_pitch,
pic->p->i_lines, false);
pic->p->i_visible_lines, false);
xcb_xv_put_image (p_sys->conn, p_sys->port, p_sys->window,
p_sys->gc, p_sys->id,
Supports Markdown
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