Skip to content
Snippets Groups Projects
Commit 2608eb5c authored by Oneric's avatar Oneric Committed by Jean-Baptiste Kempf
Browse files

codec: libass: pass storage size to libass

Due to a quirk in the ASS format some tags do depend on the exact
storage size of the video not just the pixel aspect ratio, so tell
libass via ass_set_storage_size to achieve correct rendering.

For ASS, storage size refers to the size the video is encoded in (stored
at) with codec-level crop applied; further transforms like e.g.
anamorphic de-squeezing or container-level crop must not be applied.
This matches the used fmt_src values despite them being named
visible_{width,height} and the existing PAR calculation already relies
on this.

Fixes #26634
parent 76119529
No related branches found
No related tags found
1 merge request!1708codec: libass: pass storage size to libass
Pipeline #208486 passed with stage
in 21 minutes and 1 second
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment