aggregator: simplify src_event
authorStefan Sauer <ensonic@users.sf.net>
Tue, 3 Oct 2017 10:08:42 +0000 (12:08 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 2 Dec 2017 15:10:27 +0000 (15:10 +0000)
commita82e6bc650dac35c1cce6021eb555e5151a6a496
tree5b486aebcec230e924bd9712010e80b1cf616bb3
parent70d0945b3592d0fbcf6345cd9055cbebee619661
aggregator: simplify src_event

Avoid extra ref/unref, we have a ref and do_seek unrefs. Just return the result
as we have. This lets us remove the local var plus the label.
libs/gst/base/gstaggregator.c