Skip to content

multiqueue: Simplify gst_multi_queue_iterate_internal_links

We don't need to obtain the mutex to ensure that sq is non-NULL. sq is assigned immediately after the pads are created and not destroyed until the pads are finalized.

Use the pad direction to determine which internal peer we need.

This has been in use downstream for almost a year, so should be safe.

Edited by Jan Alexander Steffens

Merge request reports