mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 05:16:36 +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 */
|
/* to make sure it can be show when driver don't support scale */
|
||||||
if (!self->can_scale) {
|
if (!self->can_scale) {
|
||||||
result.w = src.w;
|
src.w = result.w;
|
||||||
result.h = src.h;
|
src.h = result.h;
|
||||||
result.x = src.x;
|
|
||||||
result.y = src.y;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_TRACE_OBJECT (self,
|
GST_TRACE_OBJECT (self,
|
||||||
|
|
Loading…
Reference in a new issue