/* */
enum {
-#if 0
VOUT_CONTROL_INIT,
- VOUT_CONTROL_EXIT,
+ VOUT_CONTROL_CLEAN,
+ VOUT_CONTROL_REINIT, /* cfg */
+#if 0
/* */
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_SUBPICTURE, /* subpicture */
+ VOUT_CONTROL_FLUSH_SUBPICTURE, /* integer */
VOUT_CONTROL_OSD_TITLE, /* string */
VOUT_CONTROL_CHANGE_FILTERS, /* string */
+ VOUT_CONTROL_CHANGE_SUB_FILTERS, /* string */
+ VOUT_CONTROL_CHANGE_SUB_MARGIN, /* integer */
VOUT_CONTROL_PAUSE,
VOUT_CONTROL_RESET,
mtime_t time;
mtime_t *time_ptr;
char *string;
+ int integer;
struct {
int a;
int b;
unsigned width;
unsigned height;
} window;
+ const vout_configuration_t *cfg;
+ subpicture_t *subpicture;
} u;
} vout_control_cmd_t;
void vout_control_Push(vout_control_t *, vout_control_cmd_t *);
void vout_control_PushVoid(vout_control_t *, int type);
void vout_control_PushBool(vout_control_t *, int type, bool boolean);
+void vout_control_PushInteger(vout_control_t *, int type, int integer);
void vout_control_PushTime(vout_control_t *, int type, mtime_t time);
void vout_control_PushMessage(vout_control_t *, int type, int channel, const char *string);
void vout_control_PushPair(vout_control_t *, int type, int a, int b);