Commit 7d6feff6 authored by Laurent Aimar's avatar Laurent Aimar

Made vout_display_t::manage() optional.

parent 5bea1844
......@@ -293,7 +293,7 @@ struct vout_display_t {
/* Control on the module (mandatory) */
int (*control)(vout_display_t *, int, va_list);
/* Manage pending event (mandatory for now) */
/* Manage pending event (optional) */
void (*manage)(vout_display_t *);
/* Private place holder for the vout_display_t module (optional)
......
......@@ -161,7 +161,8 @@ static int vout_display_Control(vout_display_t *vd, int query, ...)
}
static void vout_display_Manage(vout_display_t *vd)
{
vd->manage(vd);
if (vd->manage)
vd->manage(vd);
}
/* */
......
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