Skip to content

glupload: dmabuf: use out_info to create allocation params for non-direct dmabuf uploads as well

Philipp Zabel requested to merge pH5/gst-plugins-base:glupload into master

Non-direct dmabuf uploads, just as direct dmabuf uploads, create EGL images and thus GL textures of the same width as the imported image. The input dmabuf line stride is not relevant to the resulting texture in both cases.

This fixes the case where non-direct uploads of input dmabufs with line stride larger than the width will for example cause glcolorconvert to sample only the left part (width * bytes per pixel / stride) of the image, causing a horizontally stretched and cropped output image.

Merge request reports

Loading