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

display: remove the manage callback

parent f1aa4ce5
......@@ -309,9 +309,6 @@ struct vout_display_t {
/* Control on the module (mandatory) */
int (*control)(vout_display_t *, int, va_list);
/* Manage pending event (optional) */
void (*manage)(vout_display_t *) VLC_DEPRECATED;
/* Private place holder for the vout_display_t module (optional)
*
* A module is free to use it as it wishes.
......
......@@ -45,6 +45,7 @@
#include "event.h"
static void SplitterManage(vout_display_t *vd);
static void SplitterClose(vout_display_t *vd);
/*****************************************************************************
......@@ -100,7 +101,6 @@ static vout_display_t *vout_display_New(vlc_object_t *obj,
vd->prepare = NULL;
vd->display = NULL;
vd->control = NULL;
vd->manage = NULL;
vd->sys = NULL;
vd->owner = *owner;
......@@ -146,12 +146,6 @@ static int vout_display_Control(vout_display_t *vd, int query, ...)
return result;
}
static void vout_display_Manage(vout_display_t *vd)
{
if (vd->manage)
vd->manage(vd);
}
/* */
void vout_display_GetDefaultDisplaySize(unsigned *width, unsigned *height,
const video_format_t *source,
......@@ -717,7 +711,8 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures)
{
vout_display_owner_sys_t *osys = vd->owner.sys;
vout_display_Manage(vd);
if (osys->is_splitter)
SplitterManage(vd);
/* Handle mouse timeout */
const mtime_t date = mdate();
......@@ -1447,7 +1442,6 @@ vout_display_t *vout_NewSplitter(vout_thread_t *vout,
wrapper->prepare = SplitterPrepare;
wrapper->display = SplitterDisplay;
wrapper->control = SplitterControl;
wrapper->manage = SplitterManage;
wrapper->sys = sys;
/* */
......
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