[Bug 794611] GStreamer-CRITICAL updating the plugin registry on windows due to ladspa

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Apr 9 11:52:36 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794611

Nirbheek Chauhan <nirbheek.chauhan at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #8 from Nirbheek Chauhan <nirbheek.chauhan at gmail.com> ---
(In reply to Nirbheek Chauhan from comment #0)
> (gst-launch-1.0:9756): GStreamer-CRITICAL **: gst_object_ref: assertion
> 'object != NULL' failed
> 

Turns out this happens when you pass an invalid device to wasapisrc and we post
an ELEMENT_ERROR in get_caps(), which calls gst_audio_base_src_post_message()
and does gst_object_ref (src->ringbuffer) before the ringbuffer is allocated.

The fix is in two parts:

1. Don't call ELEMENT_ERROR in get_caps() before the device is opened; just
return the template caps in that case
2. Check that the ringbuffer is allocated before trying to ref it in
gst_audio_base_src_post_message()

-- 
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