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

vout/macosx: avoid copying vd->info

parent 787c58d3
......@@ -239,13 +239,9 @@ static int Open (vout_display_t *vd, const vout_display_cfg_t *cfg,
goto error;
}
/* */
vout_display_info_t info = vd->info;
info.has_pictures_invalid = false;
info.subpicture_chromas = subpicture_chromas;
/* Setup vout_display_t once everything is fine */
vd->info = info;
vd->info.has_pictures_invalid = false;
vd->info.subpicture_chromas = subpicture_chromas;
vd->pool = Pool;
vd->prepare = PictureRender;
......
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