mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
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:
parent
702e69e841
commit
52fff41aae
1 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue