diff --git a/spa/include/spa/debug/pod.h b/spa/include/spa/debug/pod.h index 511cd7677..49fee5f22 100644 --- a/spa/include/spa/debug/pod.h +++ b/spa/include/spa/debug/pod.h @@ -142,8 +142,8 @@ spa_debug_pod_value(int indent, const struct spa_type_info *info, SPA_POD_OBJECT_BODY_FOREACH(b, size, p) { ii = spa_debug_type_find(info, p->key); - spa_debug("%*s" "Prop: key %s (%d), context %d", indent+2, "", - ii ? ii->name : "unknown", p->key, p->context); + spa_debug("%*s" "Prop: key %s (%d), flags %08x", indent+2, "", + ii ? ii->name : "unknown", p->key, p->flags); spa_debug_pod_value(indent + 4, ii ? ii->values : NULL, p->value.type, diff --git a/spa/include/spa/pod/pod.h b/spa/include/spa/pod/pod.h index 4936fa2bd..dc07f823f 100644 --- a/spa/include/spa/pod/pod.h +++ b/spa/include/spa/pod/pod.h @@ -193,7 +193,7 @@ struct spa_pod_fd { struct spa_pod_prop { uint32_t key; /**< key of property, list of valid keys depends on the * object type */ - uint32_t context; /**< context for property */ + uint32_t flags; /**< flags for property */ struct spa_pod value; /* value follows */ }; diff --git a/spa/plugins/v4l2/v4l2-source.c b/spa/plugins/v4l2/v4l2-source.c index 65a680bb2..2f2c67ac5 100644 --- a/spa/plugins/v4l2/v4l2-source.c +++ b/spa/plugins/v4l2/v4l2-source.c @@ -810,7 +810,7 @@ static int process_control(struct impl *this, struct spa_pod_sequence *control) if ((control_id = prop_to_control_id(prop->key)) == 0) continue; - port = GET_OUT_PORT(this, prop->context); + port = GET_OUT_PORT(this, 0); set_control(this, port, control_id, SPA_POD_VALUE(struct spa_pod_float, &prop->value)); }