framepositionner: add a weak ref on track element to know when it is finalized
authorAurélien Zanelli <aurelien.zanelli@darkosphere.fr>
Mon, 16 May 2016 10:53:32 +0000 (12:53 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Mon, 16 May 2016 18:37:25 +0000 (14:37 -0400)
commitdf9921f470b4a6aacc71c46478d74ddbfc1d4504
tree2326f749ce7b3117c28dff8f3435ebdfdef4ac91
parent991870fa289bf354c5ee4636e9d84543293b1afb
framepositionner: add a weak ref on track element to know when it is finalized

Otherwise if frame positionner is disposed after track element has been
finalized, it will raise a critical message because we will try to
disconnect a signal handler on a freed track element object.

https://bugzilla.gnome.org/show_bug.cgi?id=766525
ges/gstframepositioner.c