mirror of https://github.com/mpv-player/mpv
sub/osd_libass: don't blur the osd-bar
High --osd-blur values break the osd-bar by not drawing the filled portion, and even low values just make it look worse, so don't apply --osd-blur to the osd-bar.
This commit is contained in:
parent
06ab9622e6
commit
d66ed2d8be
|
@ -386,6 +386,7 @@ static void get_osd_bar_box(struct osd_state *osd, struct osd_object *obj,
|
||||||
style->Outline = opts->osd_bar_outline_size;
|
style->Outline = opts->osd_bar_outline_size;
|
||||||
// Rendering with shadow is broken (because there's more than one shape)
|
// Rendering with shadow is broken (because there's more than one shape)
|
||||||
style->Shadow = 0;
|
style->Shadow = 0;
|
||||||
|
style->Blur = 0;
|
||||||
|
|
||||||
style->Alignment = 5;
|
style->Alignment = 5;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue