[Bug 790149] vaapipostproc: Does not maintain aspect ratio when scaling

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jan 18 19:50:01 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=790149

--- Comment #10 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
(In reply to Víctor Manuel Jáquez Leal from comment #9)
> Created attachment 367038 [details] [review]
> vaapipostproc: keep the display's pixel aspect ratio
> 
> Before vaapipostproc will resize the video frame to the window size,
> but that broke the display's pixel aspect ratio form the original
> video.
> 
> This patch will honor the original pixel-aspect-ratio by setting a
> target rectangle within the output surface, that means black borders.

This patch works regular with intel-vaapi-driver, it shows some artifacts and
the image is not centered.

In the case of mesa amd driver, it is worse since it crashes.

Dunno, perhaps it is a code path no quite tested by drivers. Still, it seems
the correct way to do it.

-- 
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