videoconvert: disable latency recalculation

This commit is contained in:
columbarius 2023-09-24 15:00:23 +02:00
parent b8cbfe61d0
commit 7fd0e8cda5

View file

@ -1077,6 +1077,7 @@ static void follower_info(void *data, const struct spa_node_info *info)
}
/*
static int recalc_latency(struct impl *this, enum spa_direction direction, uint32_t port_id)
{
struct spa_pod_builder b = { 0 };
@ -1111,6 +1112,7 @@ static int recalc_latency(struct impl *this, enum spa_direction direction, uint3
return 0;
}
*/
static void follower_port_info(void *data,
enum spa_direction direction, uint32_t port_id,
@ -1166,7 +1168,8 @@ static void follower_port_info(void *data,
continue;
if (idx == IDX_Latency) {
res = recalc_latency(this, direction, port_id);
// res = recalc_latency(this, direction, port_id);
res = 0;
spa_log_debug(this->log, "latency: %d (%s)", res,
spa_strerror(res));
}