mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-30 21:37:53 -04:00
videoconvert: disable latency recalculation
This commit is contained in:
parent
b8cbfe61d0
commit
7fd0e8cda5
1 changed files with 4 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue