diff options
author | wm4 <wm4@nowhere> | 2016-09-19 20:16:44 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-19 20:16:44 +0200 |
commit | bf5c97a6c38352d492020cd5d6c7563c709bca9d (patch) | |
tree | 2fc1e558ad3c5fbfa02c119c9ef347330a6e4f77 /sub/osd.c | |
parent | df85c76b7f8711b15e36973518578e0064657b8e (diff) | |
download | mpv-bf5c97a6c38352d492020cd5d6c7563c709bca9d.tar.bz2 mpv-bf5c97a6c38352d492020cd5d6c7563c709bca9d.tar.xz |
options, command: simplify some option updates
Remove wrapper properties for OSD and video position updates, use the
new mechanism for them. We can mark the options directly. Update
behavior will work for more options (since I've casually marked more
affected options than the old less direct mechanism covered).
Diffstat (limited to 'sub/osd.c')
-rw-r--r-- | sub/osd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -81,6 +81,7 @@ const struct m_sub_options osd_style_conf = { .align_x = -1, .align_y = -1, }, + .change_flags = UPDATE_OSD, }; const struct m_sub_options sub_style_conf = { @@ -99,6 +100,7 @@ const struct m_sub_options sub_style_conf = { .align_x = 0, .align_y = 1, }, + .change_flags = UPDATE_OSD, }; static bool osd_res_equals(struct mp_osd_res a, struct mp_osd_res b) |