[Bug 744211] interleave: assertion 'self->func != NULL' failed
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu May 28 21:03:05 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=744211
--- Comment #5 from Vineeth <vineeth.tm at samsung.com> ---
I went through the code again and these are my observations.
The main reason of this error is that,
if channel_positions_from_input is set to TRUE, the channel positions is taken
from input caps.
But whenever channel_positions_from_input is set to FALSE, it is expecting
channel-positions property to be set through pipeline.
I am not sure why a property for channel_positions_from_input is needed.
>From code we are by default initializing it as TRUE. So if will take the
channel position from input caps if provided.
And when we provide property channel-positions then the value will be set to
FALSE and it will take the provided channel-positions.
The problem with controllable channel_positions_from_input property arises when
it is set without channel-positions property or set after channel-positions
property is set.
These can be verified in the test cases by making some minor changes as
follows.
In the test case test_interleave_2ch_pipeline_input_chanpos,
channel-positions is not being set. When we change the
channel-positions-from-input property to FALSE, then we get the assertion
errors and the test case fails.
In the test case test_interleave_2ch_pipeline_custom_chanpos,
channel-positions are being set, and channel-positions-from-input property is
being set to TRUE before setting channel-positions. But if we set
channel-positions-from-input property after channel-positions then the test
case fails.
--
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