glupload: Fix fallback from direct dmabuf to dmabuf upload method
authorChris Lord <clord@igalia.com>
Mon, 9 Mar 2020 10:21:53 +0000 (10:21 +0000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 23 Mar 2020 11:09:49 +0000 (11:09 +0000)
commit7cd2f5a29f76a9237026abaaf4225401aae1d00e
treeaba14558d35de4b232e7fa50a5da41dc32d81077
parentbb8515671efdf87c1693ab2e6e1a93d742b26cee
glupload: Fix fallback from direct dmabuf to dmabuf upload method

In the situation that the direct dmabuf path is chosen, but with an
unsupported texture format, this causes accept to fail rather than
continue and fail at the upload stage. It is also possibly necessary to
reconfigure after falling back from direct to non-direct dmabuf upload
paths.
gst-libs/gst/gl/egl/gsteglimage.c
gst-libs/gst/gl/egl/gsteglimage_private.h [new file with mode: 0644]
gst-libs/gst/gl/gstglupload.c