diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2022-01-19 21:56:28 +0200 |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2022-01-19 21:56:28 +0200 |
commit | 9cddd73f67f11dba2f2921124e2c39c77af01651 (patch) | |
tree | 3148a8c3e43b33025c0c968d360e672a3794c409 /sub/osd.c | |
parent | 04f0b0abe48d664aaa1400d1dddb02b434999b85 (diff) | |
download | mpv-9cddd73f67f11dba2f2921124e2c39c77af01651.tar.bz2 mpv-9cddd73f67f11dba2f2921124e2c39c77af01651.tar.xz |
Revert "options: add --sub-visibility=<primary-only|secondary-only>"
This reverts commit 04f0b0abe48d664aaa1400d1dddb02b434999b85.
It's not a good idea to unify the names only for visibility, while
keeping secondary-* for everything else.
This needs a bit more thought before we allow secondary sub to be
visible on its own.
Diffstat (limited to 'sub/osd.c')
-rw-r--r-- | sub/osd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -291,7 +291,7 @@ static struct sub_bitmaps *render_object(struct osd_state *osd, check_obj_resize(osd, osdres, obj); if (obj->type == OSDTYPE_SUB) { - if (obj->sub && sub_is_primary_visible(obj->sub)) + if (obj->sub) res = sub_get_bitmaps(obj->sub, obj->vo_res, format, video_pts); } else if (obj->type == OSDTYPE_SUB2) { if (obj->sub && sub_is_secondary_visible(obj->sub)) |