mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
d2a7b763be
When driver return error on update plane request, kmssink disables the scaling and retries plane update. While doing so kmssink was matching the source rectangle dimensions to the target rectangle dimensions which were calculated as per scaling but this is incorrect, instead what we want here is that target rectangle dimensions should match the source rectangle dimensions as scaling is disabled now and so we match result rectangle dimensions with source rectangle dimensions. While at it, also match the result rectangle coordinates for horizontal and vertical offsets with source rectange coordinates, as since there is no scaling being done so no recentering is required. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2415> |
||
---|---|---|
.. | ||
gstkmsallocator.c | ||
gstkmsallocator.h | ||
gstkmsbufferpool.c | ||
gstkmsbufferpool.h | ||
gstkmssink.c | ||
gstkmssink.h | ||
gstkmsutils.c | ||
gstkmsutils.h | ||
meson.build |