[gstreamer-bugs] [Bug 529860] New: ximagesink aspect-ratio not handled properly
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Fri Apr 25 03:32:24 PDT 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=529860
GStreamer | gst-plugins-base | Ver: 0.10.18
Summary: ximagesink aspect-ratio not handled properly
Product: GStreamer
Version: 0.10.18
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-base
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: etienne_barbier at techemail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: 2.21/2.22
GNOME milestone: Unspecified
Please describe the problem:
When linked to videoscale, modifying the keep-aspect-ratio property of
ximagesink have an effect only once.
If you start a pipeline with the keep-aspect-ratio set once for all, it will
always work fine. However, if you modify this property when playing, it will
not work anymore.
Steps to reproduce:
1. start a pipeline with videoscale linked to ximagesink,
keep-aspect-ratio=true
2. when playing, set keep-aspect-ratio to false, the video is enlarged to the
window size
3. set keep-aspect-ratio to true
Actual results:
The video cannot be resized, the ratio cannot be preserved anymore.
Expected results:
The video should be resized to keep the aspect ratio as requested
Does this happen every time?
Yes
Other information:
Looking to the code, its seems that after the size has been negociated with the
videoscale element, the src size equals the dst size(keep-aspect-ratio=false).
Hence gst_video_sink_center_rect always gives the same result whatever the
keep-aspect-ratio value.
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=529860.
More information about the Gstreamer-bugs
mailing list