[Bug 652642] typefind: NULL check in degas_type_find

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 16 02:31:52 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=652642
  GStreamer | gst-plugins-base | git

Philip Jägenstedt <philipj> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED

--- Comment #5 from Philip Jägenstedt <philipj at opera.com> 2011-06-16 09:31:47 UTC ---
OK, so it happened again, but with another input: 2samples.wav attached to
https://bugzilla.gnome.org/show_bug.cgi?id=652562

What's happening here is that our custom source is fails with
GST_FLOW_UNEXPECTED in _create because the pipeline needs to be destroyed. This
happens when a user leaves a page with a <video> element and is necessary, at
that point we can't provide the data and need to be able to fail in _create.

Perhaps few other sources can fail in _create like this, but _create does
return GstFlowReturn, so reasonably no code should assume that it succeeds.

Reopening, as it would seem that this is either a bug in typefind or a bug in
the documentation of basesrc _create to say that it must always succeed.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list