[Bug 744211] New: interleave: assertion 'self->func != NULL' failed

bugzilla at gnome.org bugzilla at gnome.org
Mon Feb 9 21:00:04 PST 2015


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

            Bug ID: 744211
           Summary: interleave: assertion 'self->func != NULL' failed
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: vineeth.tm at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

When we try to launch with the below pipeline
gst-launch-1.0 audiotestsrc num-buffers=20 ! interleave
channel-positions-from-input=False ! audioconvert ! autoaudiosink

the following error occurs
** (gst-launch-1.0:31758): CRITICAL **: gst_interleave_collected: assertion
'self->func != NULL' failed

This happens because 

      if (g_atomic_int_get (&self->configured_sinkpads_counter) ==
          self->channels) {
        ret = gst_interleave_sink_setcaps (self, data->pad, caps, &info);
...
}

self->func will be defined only when self->channels is equal to
sinkpads_counter

but 

  if (self->channel_positions_from_input)
    channels = g_atomic_int_add (&self->channels, 1);

self->channels will be set only in the case of channel_positions_from_input
being TRUE. Hence the error.

Not exactly sure how to fix this. Can someone check this.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-bugs/attachments/20150210/e4cd34a6/attachment.html>


More information about the gstreamer-bugs mailing list