Commit ea3a73d0 authored by Laurent Aimar's avatar Laurent Aimar

Cosmetics (vout).

parent bc3f40f7
......@@ -38,22 +38,10 @@ void vout_control_cmd_Init(vout_control_cmd_t *cmd, int type)
void vout_control_cmd_Clean(vout_control_cmd_t *cmd)
{
switch (cmd->type) {
//case VOUT_CONTROL_OSD_MESSAGE:
case VOUT_CONTROL_OSD_TITLE:
case VOUT_CONTROL_CHANGE_FILTERS:
free(cmd->u.string);
break;
#if 0
case VOUT_CONTROL_OSD_TEXT:
free(cmd->text.string);
if (cmd->text.style)
text_style_Delete(cmd->text.style);
break;
case VOUT_CONTROL_OSD_SUBPICTURE:
if (cmd->subpicture)
subpicture_Delete(cmd->subpicture);
break;
#endif
default:
break;
}
......
......@@ -37,16 +37,6 @@ enum {
/* */
VOUT_CONTROL_START,
VOUT_CONTROL_STOP,
/* Controls */
/* OSD */
VOUT_CONTROL_OSD_MESSAGE,
VOUT_CONTROL_OSD_TEXT,
VOUT_CONTROL_OSD_SLIDER,
VOUT_CONTROL_OSD_ICON,
VOUT_CONTROL_OSD_SUBPICTURE,
#endif
VOUT_CONTROL_OSD_TITLE, /* string */
VOUT_CONTROL_CHANGE_FILTERS, /* string */
......
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