diff options
author | wm4 <wm4@nowhere> | 2013-03-31 21:12:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-31 21:12:53 +0200 |
commit | 6cdc604f59c819ec47857260bf9997673292ac92 (patch) | |
tree | 845ec8fd9e727c5b4e72c9c2748994d6386c9d43 /sub/osd_libass.c | |
parent | 47d35ca6befe766be89d0e4efc6b6dabd02175fb (diff) | |
download | mpv-6cdc604f59c819ec47857260bf9997673292ac92.tar.bz2 mpv-6cdc604f59c819ec47857260bf9997673292ac92.tar.xz |
osd: disable border for inner part of the OSD bar
Diffstat (limited to 'sub/osd_libass.c')
-rw-r--r-- | sub/osd_libass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/osd_libass.c b/sub/osd_libass.c index 9f5f1fd692..6cc0a52fc9 100644 --- a/sub/osd_libass.c +++ b/sub/osd_libass.c @@ -286,7 +286,7 @@ static void update_progbar(struct osd_state *osd, struct osd_object *obj) struct ass_draw *d = &(struct ass_draw) { .scale = 4 }; // filled area - d->text = talloc_asprintf_append(d->text, "{\\pos(%f,%f)}", px, py); + d->text = talloc_asprintf_append(d->text, "{\\bord0\\pos(%f,%f)}", px, py); ass_draw_start(d); float pos = osd->progbar_value * width - border / 2; ass_draw_rect_cw(d, 0, 0, pos, height); |