mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
glupload: Delete the flag of METHOD_FLAG_CAN_ACCEPT_RAW for DMABuf
When this flag is enabled, the transform_caps() simply set passthrough to generate the raw caps. This is not correct, because the sink and src have different format/drm-format fields. We already add system memory conversion for DMABuf manner, so no more need for this flag. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3524>
This commit is contained in:
parent
094270322b
commit
3cebfc7e84
1 changed files with 3 additions and 3 deletions
|
@ -1601,7 +1601,7 @@ _dma_buf_upload_free (gpointer impl)
|
|||
|
||||
static const UploadMethod _dma_buf_upload = {
|
||||
"Dmabuf",
|
||||
METHOD_FLAG_CAN_ACCEPT_RAW,
|
||||
0,
|
||||
&_dma_buf_upload_caps,
|
||||
&_dma_buf_upload_new,
|
||||
&_dma_buf_upload_transform_caps,
|
||||
|
@ -1746,7 +1746,7 @@ _direct_dma_buf_upload_transform_caps (gpointer impl, GstGLContext * context,
|
|||
|
||||
static const UploadMethod _direct_dma_buf_upload = {
|
||||
"DirectDmabuf",
|
||||
METHOD_FLAG_CAN_ACCEPT_RAW,
|
||||
0,
|
||||
&_dma_buf_upload_caps,
|
||||
&_direct_dma_buf_upload_new,
|
||||
&_direct_dma_buf_upload_transform_caps,
|
||||
|
@ -1768,7 +1768,7 @@ _direct_dma_buf_external_upload_new (GstGLUpload * upload)
|
|||
|
||||
static const UploadMethod _direct_dma_buf_external_upload = {
|
||||
"DirectDmabufExternal",
|
||||
METHOD_FLAG_CAN_ACCEPT_RAW,
|
||||
0,
|
||||
&_dma_buf_upload_caps,
|
||||
&_direct_dma_buf_external_upload_new,
|
||||
&_direct_dma_buf_upload_transform_caps,
|
||||
|
|
Loading…
Reference in a new issue