[Bug 696019] videoscale does not preserve DAR with add-borders=TRUE

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 18 11:52:32 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=696019
  GStreamer | gst-plugins-base | 1.0.5

--- Comment #2 from Jan Schole <jan581984 at web.de> 2013-03-18 18:52:27 UTC ---
I've just found another flaw in the very same function
gst_video_scale_set_info. When using caps with the same width and height but
different pixel-aspect-ratio on videoscale with add-borders=TRUE, the base
transform is set to passthrough mode. As a result the DAR of the picture is
changed and no borders are added. This can be reconstructed with

gst-launch-1.0 videotestsrc ! video/x-raw, width=720, height=576,
pixel-aspect-ratio=64/45 ! videoscale add-borders=TRUE ! video/x-raw,
width=720, height=576, pixel-aspect-ratio=1/1 ! autovideosink

The condition for passthrough mode should be, that width and height of src and
sink are identical and that no borders are to be added. I've added this
correction in my second attachment.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list