mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
glupload: add CAN_ACCEPT_RAW to all dma-buf uploaders
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>
This commit is contained in:
parent
04dc8e2484
commit
e59b3c93c7
1 changed files with 2 additions and 2 deletions
|
@ -950,7 +950,7 @@ _direct_dma_buf_upload_transform_caps (gpointer impl, GstGLContext * context,
|
|||
|
||||
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,
|
||||
|
@ -972,7 +972,7 @@ _direct_dma_buf_external_upload_new (GstGLUpload * upload)
|
|||
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue