mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
adapter: disable rate_match for the video adapter
We don't actually implement this for the video adapter. We should ideally check for the SPA_IO_RateMatch param to decide this..
This commit is contained in:
parent
144c3630ea
commit
1e5a938e43
2 changed files with 7 additions and 2 deletions
|
|
@ -94,6 +94,7 @@ struct impl {
|
|||
struct spa_callbacks callbacks;
|
||||
|
||||
unsigned int add_listener:1;
|
||||
unsigned int have_rate_match:1;
|
||||
unsigned int have_format:1;
|
||||
unsigned int recheck_format:1;
|
||||
unsigned int started:1;
|
||||
|
|
@ -284,7 +285,7 @@ static int link_io(struct impl *this)
|
|||
spa_zero(this->io_rate_match);
|
||||
this->io_rate_match.rate = 1.0;
|
||||
|
||||
if (this->follower == this->target) {
|
||||
if (this->follower == this->target || !this->have_rate_match) {
|
||||
rate_match = NULL;
|
||||
rate_match_size = 0;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue