Revert "kmssink: Fix fallback path for driver not able to scale scenario"

This reverts commit d2a7b763be.

After this change, non-scaled rendered were not centred as expected.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2496>
This commit is contained in:
Nicolas Dufresne 2021-08-27 15:41:32 -04:00 committed by GStreamer Marge Bot
parent 702e69e841
commit 52fff41aae

View file

@ -1654,10 +1654,8 @@ retry_set_plane:
/* to make sure it can be show when driver don't support scale */
if (!self->can_scale) {
result.w = src.w;
result.h = src.h;
result.x = src.x;
result.y = src.y;
src.w = result.w;
src.h = result.h;
}
GST_TRACE_OBJECT (self,