<html>
<head>
<base href="https://bugzilla.gnome.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - interleave: assertion 'self->func != NULL' failed"
href="https://bugzilla.gnome.org/show_bug.cgi?id=744211">744211</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>interleave: assertion 'self->func != NULL' failed
</td>
</tr>
<tr>
<th>Classification</th>
<td>Platform
</td>
</tr>
<tr>
<th>Product</th>
<td>GStreamer
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>gst-plugins-good
</td>
</tr>
<tr>
<th>Assignee</th>
<td>gstreamer-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vineeth.tm@samsung.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>gstreamer-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>GNOME version</th>
<td>---
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>