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

vout: do not send bogus fullscreen event

This had no effects: the core would send a fullscreen event back to the
display plugin, which would then ignore it.
parent 2090c670
......@@ -329,9 +329,6 @@ static int Open(vlc_object_t *p_this)
goto error;
}
/* Fix initial state */
vout_display_SendEventFullscreen(vd, true);
free(pictures);
return VLC_SUCCESS;
......
......@@ -743,9 +743,6 @@ static int OpenCommon(vout_display_t *vd)
vd->manage = NULL;
vd->info.is_slow = !sys->p_window->b_opaque;
/* Fix initial state */
vout_display_SendEventFullscreen(vd, true);
return VLC_SUCCESS;
error:
......
......@@ -157,7 +157,6 @@ static int Open(vlc_object_t *object)
vd->manage = NULL;
/* */
vout_display_SendEventFullscreen(vd, true);
vout_display_SendEventDisplaySize(vd, fmt.i_width, fmt.i_height);
return VLC_SUCCESS;
......
......@@ -912,9 +912,6 @@ Open( vlc_object_t *p_this )
vd->control = Control;
vd->manage = Manage;
/* Fix initial state */
vout_display_SendEventFullscreen( vd, true );
return VLC_SUCCESS;
}
......
......@@ -313,7 +313,6 @@ static int Open(vlc_object_t *object)
vd->manage = NULL;
/* */
vout_display_SendEventFullscreen(vd, true);
vout_display_SendEventDisplaySize(vd, fmt.i_visible_width, fmt.i_visible_height);
return VLC_SUCCESS;
}
......
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