Skip to content

Improve unblocking of blocking pad probes

Jan Schmidt requested to merge thaytan/gstreamer:pad-probes-remarshal into master

WIP because it needs a unit test for unblocking with multiple blocking probes that have different block conditions.

pad: Fix for multiple blocking probes interaction.

Change the way the marshalled flag in the internal ProbeMarshall state
is handled when iterating over pad probes so that it only counts
probes that still exist and would be called when retrying.

This improves the way that removing a blocking probe works when
there are multiple blocking probes for different conditions (data vs
events for example).

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/658
Edited by Jan Schmidt

Merge request reports