Skip to content

vout_subpictures: fix the region SAR guessing

Steve Lhomme requested to merge robUx4/vlc:spu_source_sar into master

The old computation was assuming the fmt_dst is always the size of the source. If the subpicture is absolute, it depends on the source format and should have the same SAR. This is the case for DVD subpictures, for example. If the subpicture doesn't depend on the source, just assume it's 1:1.

Merge request reports