diff --git a/spa/plugins/v4l2/v4l2-utils.c b/spa/plugins/v4l2/v4l2-utils.c index f31049dd6..f151652b3 100644 --- a/spa/plugins/v4l2/v4l2-utils.c +++ b/spa/plugins/v4l2/v4l2-utils.c @@ -1462,7 +1462,7 @@ mmap_init(struct impl *this, if (port->have_expbuf && d[0].type != SPA_ID_INVALID && - (d[0].type & (1u << SPA_DATA_DmaBuf))) { + (d[0].type & ((1u << SPA_DATA_DmaBuf)|(1u<log, "v4l2: '%s' VIDIOC_EXPBUF: %m", this->props.device); return -errno; } - d[0].type = SPA_DATA_DmaBuf; + if (d[0].type & (1u<