ext/: Use gst_buffer_try_new_and_alloc() and fail properly if the allocation failed...
authorSebastian Dröge <slomo@circular-chaos.org>
Mon, 24 Nov 2008 12:07:10 +0000 (12:07 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Mon, 24 Nov 2008 12:07:10 +0000 (12:07 +0000)
commit79bb2ffe0654c9be52b6e5328ffba7fc8ddab2b3
tree0eaaaae1da1a24af38da0d409620a8a4798ce409
parent0bdeaae59e236b5ab2e8bc94bfa12891c99523b9
ext/: Use gst_buffer_try_new_and_alloc() and fail properly if the allocation failed. This prevents abort() if downstr...

Original commit message from CVS:
* ext/gio/gstgiobasesrc.c: (gst_gio_base_src_create):
* ext/gnomevfs/gstgnomevfssrc.c: (gst_gnome_vfs_src_create):
Use gst_buffer_try_new_and_alloc() and fail properly if the
allocation failed. This prevents abort() if downstream elements
request an insane amount of memory.
ChangeLog
ext/gio/gstgiobasesrc.c
ext/gnomevfs/gstgnomevfssrc.c