Fixes cases where a dma-buf would be uploaded using direct-dma-buf
into an external-oes texture (using video/x-raw caps) and then
attempting to reconfigure the same source.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3486>
static const UploadMethod _direct_dma_buf_upload = {
"DirectDmabuf",
- 0,
+ METHOD_FLAG_CAN_ACCEPT_RAW,
&_dma_buf_upload_caps,
&_direct_dma_buf_upload_new,
&_direct_dma_buf_upload_transform_caps,
static const UploadMethod _direct_dma_buf_external_upload = {
"DirectDmabufExternal",
- 0,
+ METHOD_FLAG_CAN_ACCEPT_RAW,
&_dma_buf_upload_caps,
&_direct_dma_buf_external_upload_new,
&_direct_dma_buf_upload_transform_caps,