GNOME Bugzilla – Bug 349189
LADSPA gstsignalprocessor.c: line 408: assertion failed: (self->pending_in != 0)
Last modified: 2006-08-04 09:11:25 UTC
> grep -Hn "pending_in" *.c gstsignalprocessor.c:328: g_return_if_fail (self->pending_in == 0); gstsignalprocessor.c:408: g_assert (self->pending_in != 0); gstsignalprocessor.c:410: self->pending_in--; gstsignalprocessor.c:412: if (self->pending_in == 0) { gstsignalprocessor.c:469: if (self->pending_in != 0) { gstsignalprocessor.c:558: if (self->pending_in == 0) { where do we miss the 'self->pending_in++' ?
additional tasks: * check other FIXME: in the source too * comment the purpose of the class-members briefly
*** Bug 347676 has been marked as a duplicate of this bug. ***
I think what it's missing is at the end of signal_processor_process(), there should be a self->pending_in = klass->num_audio_in;. However I think there are probably problems with asserts in the case of plugins with no audio inputs or with no audio outputs.
still get: ** ERROR **: file gstsignalprocessor.c: line 411 (gst_signal_processor_pen_buffer): assertion failed: (self->pending_in != 0) the change needs to be somewhere else.
Fixed in today's commit.