d3d11videosink: Use pixel aspect ratio to setup window draw area
authorSeungha Yang <seungha.yang@navercorp.com>
Fri, 23 Aug 2019 04:41:54 +0000 (13:41 +0900)
committerSebastian Dröge <slomo@coaxion.net>
Thu, 26 Sep 2019 10:23:46 +0000 (10:23 +0000)
commit22d8d77b131796c280bebc4c49b18dc4066446b2
tree0c97e8fdbcf67b37d01f901e9d1a30476017fbeb
parent296e17e3f170ce5076148ff4526b2c8848520992
d3d11videosink: Use pixel aspect ratio to setup window draw area

... instead of calculated display ratio from given PAR and DAR.

d3d11window calculates output display ratio
to decide padding area per window resize event. In the formula,
actual PAR is required to handle both 1:1 PAR and non-1:1 PAR.
sys/d3d11/gstd3d11videosink.c
sys/d3d11/gstd3d11window.c