<div dir="ltr"><div>I am trying to add signal handler to queue signal overrun. I assumed that this should work (<a href="https://cgit.freedesktop.org/gstreamer/qt-gstreamer/tree/tests/auto/signalstest.cpp">https://cgit.freedesktop.org/gstreamer/qt-gstreamer/tree/tests/auto/signalstest.cpp</a>) but no luck. What is wrong?<br><br>// signal handler<br>void MediaEngine::onSignal(const QGst::ObjectPtr &obj, const QGst::ObjectPtr &parentObj)<br>{<br> qDebug() << "jiihaa";<br>}<br><br><br></div>// connecting signal<br>QGlib::connect(q, "overrun", this, &onSignal, QGlib::PassSender);<br><div><br><br></div><div>Application output:<br>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(0,0,0)">Error during invocation of closure connected to signal "overrun" from object "(GstQueue) q" : "The signal provides less arguments than what the closure expects"</span></p><br></div><div><br><br></div></div>