After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691005 - [cluttersink] Implement "force-aspect-ratio" property
[cluttersink] Implement "force-aspect-ratio" property
Status: RESOLVED OBSOLETE
Product: clutter-gst
Classification: Other
Component: general
2.0.x
Other Linux
: Normal enhancement
: ---
Assigned To: clutter-gst-maint
clutter-gst-maint
Depends on:
Blocks: 686996
 
 
Reported: 2013-01-02 12:47 UTC by Guillaume Desmottes
Modified: 2021-05-25 17:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Guillaume Desmottes 2013-01-02 12:47:16 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.
Comment 1 Bastien Nocera 2013-03-26 10:30:46 UTC
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.
Comment 2 André Klapper 2021-05-25 17:32:51 UTC
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.