summaryrefslogtreecommitdiffstats
path: root/sub/osd_state.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-05-09 17:54:33 +0200
committerwm4 <wm4@nowhere>2020-05-09 18:02:57 +0200
commitb3a9058c0db3a14aa0e5f50a34b93753f1eb9a49 (patch)
tree18613a2f38f344529dcf9321d5fb4031399c8f81 /sub/osd_state.h
parentb727600d1fc883cd24f2d54e9691bb0d3a895844 (diff)
downloadmpv-b3a9058c0db3a14aa0e5f50a34b93753f1eb9a49.tar.bz2
mpv-b3a9058c0db3a14aa0e5f50a34b93753f1eb9a49.tar.xz
osd: add change timestamp and screen size to struct sub_bitmap_list
Should be somewhat helpful. (All VOs are full of code trying to compensate for this, more or less, and this will allow simplifying some code later. Maybe.) The screen size is mostly for robustness checks.
Diffstat (limited to 'sub/osd_state.h')
-rw-r--r--sub/osd_state.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sub/osd_state.h b/sub/osd_state.h
index 054a98775b..056e54b1a8 100644
--- a/sub/osd_state.h
+++ b/sub/osd_state.h
@@ -49,6 +49,7 @@ struct osd_object {
// VO cache state
int vo_change_id;
struct mp_osd_res vo_res;
+ bool vo_had_output;
// Internally used by osd_libass.c
bool changed;