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

caopengllayer: avoid copying vd->info

parent d76d1a6d
......@@ -197,9 +197,7 @@ static int Open (vout_display_t *vd, const vout_display_cfg_t *cfg,
}
/* setup vout display */
vout_display_info_t info = vd->info;
info.subpicture_chromas = subpicture_chromas;
vd->info = info;
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