gst/base/gsttypefindhelper.c: The memory returned by gst_type_find_peek() needs to...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 10 Aug 2005 15:08:03 +0000 (15:08 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 10 Aug 2005 15:08:03 +0000 (15:08 +0000)
commitba8a8319fd409b54efdb52faa583217b9757d919
tree4da0cfefec1966e334995d9ea59ec84899e4fe34
parent8e8a415095ff64d6d49304447a18fb6ec0371c5c
gst/base/gsttypefindhelper.c: The memory returned by gst_type_find_peek() needs to stay valid until the end of a type...

Original commit message from CVS:
* gst/base/gsttypefindhelper.c: (helper_find_peek),
(gst_type_find_helper):
The memory returned by gst_type_find_peek() needs to
stay valid until the end of a typefind function, and
typefind functions may keep results from different
offsets around, so we can't just unref the buffer from
the previous _peek(), but have to save all buffers
returned by _peek() until typefinding is done and only
free them then.
ChangeLog
gst/base/gsttypefindhelper.c
libs/gst/base/gsttypefindhelper.c