aggregator: Avoid destroying sources we do not own
authorThibault Saunier <tsaunier@gnome.org>
Mon, 30 Jun 2014 10:22:07 +0000 (12:22 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 2 Dec 2017 15:10:25 +0000 (15:10 +0000)
commit481476c439b85806a557c791bfe8a81065b384d3
tree4761162f4c7984147c019c3e49705c96fc187e09
parente947a5d2a1429b3dc440807cd7d0ae99fb77b0db
aggregator: Avoid destroying sources we do not own

+ Unref the maincontext in a new dispose function
+ Make sure to remove all sources on dispose

https://bugzilla.gnome.org/show_bug.cgi?id=732445
libs/gst/base/gstaggregator.c
tests/check/libs/aggregator.c