We can apply the SAR once we know the cropped pixels dimensions and the actual display dimension requested.
We can also apply the pixel cropping no matter what, if the value is 0 it will have no side effect.
Ref. #26501 (closed)
VideoLAN code repository instance