assrender: fix leak of tag samples in the tag list
authorArnaud Vrac <avrac@freebox.fr>
Mon, 28 Sep 2015 18:56:56 +0000 (20:56 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 29 Sep 2015 08:58:52 +0000 (09:58 +0100)
commit5c1bb42045d6cbffa1e21089b2152cf633dd45e5
treef89b4e3d5089bda50dd17eb5c29b18ef980fda6d
parent0d5d692388ab6384b1bf3780185af98f976d53f5
assrender: fix leak of tag samples in the tag list

Move handling of a GstSample in a separate function, and unref the
sample after calling it. libass copies the font data so we don't need to
keep it around.

https://bugzilla.gnome.org/show_bug.cgi?id=755759
ext/assrender/gstassrender.c