Skip to content

Commit

Permalink
sub/osd_libass: don't blur the osd-bar
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
guidocella authored and sfan5 committed Nov 9, 2024
1 parent 06ab962 commit d66ed2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sub/osd_libass.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
// Rendering with shadow is broken (because there's more than one shape)
style->Shadow = 0;
style->Blur = 0;

style->Alignment = 5;

Expand Down

0 comments on commit d66ed2d

Please sign in to comment.