gstreamer/sys/kms
Nicolas Dufresne 671d9fed3a kmssink: Do not source using padded width/height
The width/height from the video meta can be padded width, height. But when
sourcing from padded buffer, we only want to use the valid pixels. This
rectangle is from the crop meta, orther it is deduces from the caps. The width
and height from the caps is save in the parent class, use these instead of the
GstVideoInfo when settting the src rectangle.

This fixes an issue with 1080p video displaying repeated or green at the
padded bottom 8 lines (seen with v4l2codecs).

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1580>
2020-09-18 16:26:23 +00:00
..
gstkmsallocator.c kmssink: Add support for P010 and P016 formats 2020-04-22 22:39:04 +00:00
gstkmsallocator.h kms: Export DMABuf from Dumb buffer when possible 2017-10-05 16:16:16 -04:00
gstkmsbufferpool.c kms: Export DMABuf from Dumb buffer when possible 2017-10-05 16:16:16 -04:00
gstkmsbufferpool.h kms: Export DMABuf from Dumb buffer when possible 2017-10-05 16:16:16 -04:00
gstkmssink.c kmssink: Do not source using padded width/height 2020-09-18 16:26:23 +00:00
gstkmssink.h kmssink: Avoid drain on caps changes 2019-11-11 22:20:28 +00:00
gstkmsutils.c kmssink: Add support for P010 and P016 formats 2020-04-22 22:39:04 +00:00
gstkmsutils.h
meson.build kmssink: Add support for P010 and P016 formats 2020-04-22 22:39:04 +00:00