rtpbasepayload: fix possible segment event leak
authorTim-Philipp Müller <tim@centricular.com>
Tue, 7 Jul 2015 14:05:59 +0000 (15:05 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 7 Jul 2015 14:05:59 +0000 (15:05 +0100)
commitfbf2773b2ea795a17a29e163a00f4b8d0a668b5e
tree4c6e1e3017a3eecc854c84ac7dee551de5571ef4
parent9dc463346eb42ad5504a98739f627078f5e5c925
rtpbasepayload: fix possible segment event leak

Need to clear it when shutting down, not when starting up.
Fixes leak in rtp-payloading unit test.
gst-libs/gst/rtp/gstrtpbasedepayload.c