context: after suspend, reevaluate the graph

Reevaluate the graph again after we potentially suspend because of a
rate change because links might become unprepared and need to be
prepared again before the node becomes active.
This commit is contained in:
Wim Taymans 2021-08-02 17:31:01 +02:00
parent 48f7218d03
commit da8f835de3

View file

@ -1250,6 +1250,8 @@ again:
} }
n->rt.position->clock.rate = SPA_FRACTION(1, target_rate); n->rt.position->clock.rate = SPA_FRACTION(1, target_rate);
current_rate = target_rate; current_rate = target_rate;
/* we might be suspended now and the links need to be prepared again */
goto again;
} }