mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-07 13:30:09 -05:00
gst: Stop trying to use DMA_DRM with MOD_INVALID
GSTs DMA_DRM API does explicitely not support implicit modifiers and
trying to use it would result in assertions like
```
gst_video_dma_drm_fourcc_to_string: assertion 'modifier != DRM_FORMAT_MOD_INVALID' failed
```
Fixes: f1b75fc6f ("gst: Add support for DMA_DRM / explicit modifiers")
This commit is contained in:
parent
563186eff6
commit
97719948a5
1 changed files with 1 additions and 1 deletions
|
|
@ -923,7 +923,7 @@ handle_dmabuf_prop (const struct spa_pod_prop *prop,
|
|||
g_ptr_array_add(fmt_array, g_strdup_printf ("%s", fmt_str));
|
||||
|
||||
#ifdef HAVE_GSTREAMER_DMA_DRM
|
||||
{
|
||||
if (mods[j] != DRM_FORMAT_MOD_INVALID) {
|
||||
char *drm_str;
|
||||
|
||||
if ((drm_str = video_id_to_dma_drm_fourcc(id[i], mods[j])))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue