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

display: simplify vd->info initialization

parent ed6b77f7
......@@ -103,12 +103,7 @@ static vout_display_t *vout_display_New(vlc_object_t *obj,
video_format_Copy(&vd->source, fmt);
/* Picture buffer does not have the concept of aspect ratio */
vd->info.is_slow = false;
vd->info.has_double_click = false;
vd->info.has_pictures_invalid = false;
vd->info.subpicture_chromas = NULL;
vd->info = (vout_display_info_t){ };
vd->cfg = cfg;
vd->pool = NULL;
vd->prepare = NULL;
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