Skip to content

[TaskManager] Simplify control flow in PipeWireSourceItem::updatePaintNode

Vlad Zahorodnii requested to merge work/pipewire-source-item-cfg into master

If there's no texture factory function, return the old node immediately. Also, remove a guard against the code that calculates centered geometry of the texture node. We cannot hit that case as we check whether the factory function has returned a valid texture before that.

Merge request reports

Loading