omxvideodec: unref allocator after getting it from allocation query
authorAurélien Zanelli <aurelien.zanelli@darkosphere.fr>
Thu, 2 Jul 2015 22:26:48 +0000 (00:26 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 6 Jul 2015 08:54:28 +0000 (11:54 +0300)
commitd2df0fb032c36b366a08a1355c4f4c816eb53447
tree5d2831b22fada617887154c87523d279f030e12c
parent461c7db44bf9755ff79f05ce5569ee0b25b67d23
omxvideodec: unref allocator after getting it from allocation query

Otherwise a reference will be leaked for each allocator. It only happens
when target platform is Raspberry Pi and when we have GL support.

https://bugzilla.gnome.org/show_bug.cgi?id=751867
omx/gstomxvideodec.c