d3d11overlaycompositor: fix texture width and height
authorCélestin Marot <c.marot@intopix.com>
Wed, 22 Feb 2023 14:18:12 +0000 (15:18 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 23 Feb 2023 10:25:15 +0000 (10:25 +0000)
commitc34ac2a3e812fbad3e8db3da6cc7bcc00ea03a7b
tree6be5d367b0a3091353d0ce5913806ae09bf2d536
parent5cf989fc0626ba4be830f430a8b98c950bebbc8b
d3d11overlaycompositor: fix texture width and height

The dimension of the overlay texture directly corresponds to the size of the overlay **buffer** which is given by its video meta.
The dimension at which the overlay should be displayed directly correspond to the overlay `render_width`and `render_height`.

This match the behavior of glimagesink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4053>
subprojects/gst-plugins-bad/sys/d3d11/gstd3d11overlaycompositor.cpp