From: Nicolas Dufresne Date: Fri, 27 Aug 2021 19:41:32 +0000 (-0400) Subject: Revert "kmssink: Fix fallback path for driver not able to scale scenario" X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=52fff41aaea765de4beace843ad065c4cb1c27d7;p=platform%2Fupstream%2Fgst-plugins-bad.git Revert "kmssink: Fix fallback path for driver not able to scale scenario" This reverts commit d2a7b763bef3ca51f0c84cdac52eeed85b0db8fb. After this change, non-scaled rendered were not centred as expected. Part-of: --- diff --git a/sys/kms/gstkmssink.c b/sys/kms/gstkmssink.c index 10c561934..5c68d8c65 100644 --- a/sys/kms/gstkmssink.c +++ b/sys/kms/gstkmssink.c @@ -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,