Commit 4fbb72f5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB: also set RGB masks in video_format_t

parent 0c79e770
......@@ -211,9 +211,9 @@ static int Open (vlc_object_t *obj)
vout->fmt_out.i_chroma = vout->output.i_chroma = chroma;
if (!gray)
{
vout->output.i_rmask = vt->red_mask;
vout->output.i_gmask = vt->green_mask;
vout->output.i_bmask = vt->blue_mask;
vout->fmt_out.i_rmask = vout->output.i_rmask = vt->red_mask;
vout->fmt_out.i_gmask = vout->output.i_gmask = vt->green_mask;
vout->fmt_out.i_bmask = vout->output.i_bmask = vt->blue_mask;
}
p_sys->bpp = fmt->bits_per_pixel;
p_sys->pad = fmt->scanline_pad;
......
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