Skip to content

aggregator: Make parsing of explicit sink pad names more robust

Sebastian Dröge requested to merge slomo/gstreamer:aggregator-pad-names into master

When passing "sink_%d" twice to aggregator before it would create two pads called "sink_0", because it failed to parse "%d" as integer and used 0 instead then.

Instead validate that parsing was actually successful and also don't even try to parse if the requested pad name contains a '%'.

Merge request reports