glupload: always release the previous buffer
authorMatthew Waters <ystreet00@gmail.com>
Tue, 3 Jun 2014 03:59:51 +0000 (13:59 +1000)
committerMatthew Waters <ystreet00@gmail.com>
Tue, 3 Jun 2014 04:03:21 +0000 (14:03 +1000)
commit59088f5a90960cde183a72bde2754be749750aa6
treeb8f83dc8945e691ec2393103b80045caf2f79e6d
parente72f0eadd8b9c342f6979d10e3e70b3b49ef2672
glupload: always release the previous buffer

Fixes the case where _perform_with_buffer() is called without
intervening calls to _release_buffer() as is the case on start up
with glimagesink.

Also release the buffer when reseting the upload.

https://bugzilla.gnome.org/show_bug.cgi?id=731107
gst-libs/gst/gl/gstglupload.c