[Bug 790057] New: waylandsink does not respect video alignment from upstream
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Nov 8 12:26:54 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=790057
Bug ID: 790057
Summary: waylandsink does not respect video alignment from
upstream
Classification: Platform
Product: GStreamer
Version: git master
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: rawoul at gmail.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Hi,
waylandsink's own SHM buffer allocator is exposed using a GstVideoBufferPool,
which allows upstream to set a video alignment in buffers. However, the
alignment of such buffers (for example set by ffmpeg based decoders) is
ignored, so the result on screen is wrong.
Support for video alignment could be implemented by allocating SHM buffers that
account for padding in the buffer width and height, and then use the
wp_viewport extension to crop the buffer to the visible width and height.
Testing with weston might also require the following patch (not yet merged):
https://patchwork.freedesktop.org/patch/180767/
To reproduce simply decode a video directly to waylandsink using an ffmpeg
based decoder, for example:
gst-launch-1.0 filesrc location=/path/to/video.avi ! avidemux ! avdec_mpeg4 !
waylandsink
--
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