GNOME Bugzilla – Bug 691005
[cluttersink] Implement "force-aspect-ratio" property
Last modified: 2021-05-25 17:32:51 UTC
Cluttersink doesn't implement the "force-aspect-ratio" property and so this property doesn't work on playbin when used with cluttersink as sink. - gst-launch-1.0 playbin uri="file:///..."" video-sink=cluttersink force-aspect-ratio=1 : the aspect ratio is not kept when resizing the window. - gst-launch-1.0 playbin uri="file:///..."" video-sink=xvimagesink force-aspect-ratio=1 : the aspect ratio is always preserved.
You can use totem's aspect frame: https://git.gnome.org/browse/totem/tree/src/backend/totem-aspect-frame.c to achieve the same effect.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new enhancement request ticket at https://gitlab.gnome.org/GNOME/clutter-gst/-/issues/ Thank you for your understanding and your help.