Skip to content
Snippets Groups Projects
Commit 0df6fa14 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

vout_subpicture: fix "fit inside" SPU computation

The restrained size is in source unscaled coordinates
when apply_scale is not set.
We need to unscale the output dimensions to check if it fits inside in that case.

Fixes positioning of SPU's when the window is smaller than the source.

Plus rename SpuAreaFitInside() to SpuAreaMoveInside() as it's not fitting, ie
stretching anything, just moving the subpicture (and probably shouldn't for
absolute placement anyway).
parent 62d32ff5
No related branches found
No related tags found
1 merge request!6700vout_subpicture: fix "fit inside" SPU computation
Pipeline #562580 passed with stage
in 23 minutes and 55 seconds
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