[Bug 693996] basetransform: audioresample shutdown unit test fails with 'gst_audio_info_from_caps: caps != NULL' in transform_size

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Feb 16 16:04:31 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=693996
  GStreamer | gstreamer (core) | git

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-02-17 00:04:28 UTC ---
Created an attachment (id=236420)
 View: https://bugzilla.gnome.org/attachment.cgi?id=236420
 Review: https://bugzilla.gnome.org/review?bug=693996&attachment=236420

basetransform: don't pass NULL outcaps to transform_size on shutdown

    gst_pad_get_current_caps() on the source pad might yield NULL caps
    if we're being shut down and the source pad has already been
    deactivated by the other thread that's changing state. Just bail
    out in that case, instead of passing NULL caps to the transform_size
    function, which it might not expect.

    Fixes spurious warnings in audioresample shutdown unit test.

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