mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
e00682a4c0
The DMAbuf accept function was ensuring the in_dma_info values was valid if the in_caps have change. But the check was bogus since the in_caps was being modified without a pointer change. As a side effect, on the second accept call, the drm_fourcc was reset to 0, which cause the uploader to fallback. Fix this by ensuring we always have a valid dma_frm info directly in the set_caps() function. Also remove the bogus caps changed check and remove any modification to the info structure and always do that inner checks. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5461> |
||
---|---|---|
.. | ||
gst | ||
meson.build |