GNOME Bugzilla – Bug 523054
gstbasesrc crashes when called from typefind helpers
Last modified: 2008-03-17 22:08:56 UTC
gst_base_src_get_range crashes when called from gsttypefindhelper code
Created attachment 107481 [details] Stack trace of the crash
http://futurepast.free.fr/gst.log.bz2 contains the GST_DEBUG log to the crash
Created attachment 107485 [details] [review] Fix for the crash This is a fix for the crash as discussed on IRC (the _create code should only return to the caller when the FlowReturn is not GST_FLOW_OK, only then the calling function doesn't expect a buffer)
2008-03-17 Sebastian Dröge <slomo@circular-chaos.org> Patch by: Milosz Derezynski <internalerror at gmail dot com> * ext/gio/gstgiobasesrc.c: (gst_gio_base_src_create): If seeking to a new position succeeds don't simply return from create() without creating a buffer. Do this only in the case seeking to the new position fails. Fixes bug #523054.