plugins/elements/: Use gst_buffer_try_new_and_alloc() and handle errors instead of...
authorSebastian Dröge <slomo@circular-chaos.org>
Thu, 23 Oct 2008 12:52:58 +0000 (12:52 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Thu, 23 Oct 2008 12:52:58 +0000 (12:52 +0000)
commit5357a24dbfb1fadb7b63b3ea4f552a82c7f4bc6e
treec7871f7fbc21c949a76b8afb1c8c7b9d9d4c088e
parentd2e5ffde24775d8ddeac27ba1a90583bb18046f1
plugins/elements/: Use gst_buffer_try_new_and_alloc() and handle errors instead of using gst_buffer_new_and_alloc() w...

Original commit message from CVS:
* plugins/elements/gstfdsrc.c: (gst_fd_src_create):
* plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
Use gst_buffer_try_new_and_alloc() and handle errors instead of
using gst_buffer_new_and_alloc() which aborts if the buffer couldn't
be allocated.
ChangeLog
plugins/elements/gstfdsrc.c
plugins/elements/gstfilesrc.c