X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fvideo_output%2Fcontrol.h;h=9510c22ce98aa97aaea41c1b8e78881e42e1b7a3;hb=e5ab4b4142a2d9430f74b11b379036a700972dea;hp=8048e6d79c3c09c9f8d9b7be8f9bc403df8f1a62;hpb=5a6ee7961b6485a3b6b7d4713ab4e050f572d0be;p=vlc diff --git a/src/video_output/control.h b/src/video_output/control.h index 8048e6d79c..9510c22ce9 100644 --- a/src/video_output/control.h +++ b/src/video_output/control.h @@ -32,16 +32,19 @@ enum { VOUT_CONTROL_INIT, VOUT_CONTROL_CLEAN, - VOUT_CONTROL_REINIT, /* reinit */ + VOUT_CONTROL_REINIT, /* cfg */ #if 0 /* */ VOUT_CONTROL_START, VOUT_CONTROL_STOP, #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, @@ -67,6 +70,7 @@ typedef struct { mtime_t time; mtime_t *time_ptr; char *string; + int integer; struct { int a; int b; @@ -91,9 +95,8 @@ typedef struct { unsigned width; unsigned height; } window; - struct { - const video_format_t *fmt; - } reinit; + const vout_configuration_t *cfg; + subpicture_t *subpicture; } u; } vout_control_cmd_t; @@ -123,6 +126,7 @@ void vout_control_WaitEmpty(vout_control_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);