Skip to content

sdp: don't leak the ghost pad

Michael Olbrich requested to merge mol/gst-plugins-bad:sdp-leak into master

The peer is already gone when pad_removed_cb() called, so the ghost cannot be removed. Use g_object_set_data() instead to remember the ghost pad.

Copied from similar code in GstRTPBin.

Edited by Michael Olbrich

Merge request reports

Loading