QGlib::connect to signal fail
Jani Koskimaa
jani.koskimaa at gmail.com
Thu Sep 22 19:04:07 UTC 2016
I am trying to add signal handler to queue signal overrun. I assumed that
this should work (
https://cgit.freedesktop.org/gstreamer/qt-gstreamer/tree/tests/auto/signalstest.cpp)
but no luck. What is wrong?
// signal handler
void MediaEngine::onSignal(const QGst::ObjectPtr &obj, const
QGst::ObjectPtr &parentObj)
{
qDebug() << "jiihaa";
}
// connecting signal
QGlib::connect(q, "overrun", this, &onSignal, QGlib::PassSender);
Application output:
Error during invocation of closure connected to signal "overrun" from
object "(GstQueue) q" : "The signal provides less arguments than what the
closure expects"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160922/a74509d3/attachment-0001.html>
More information about the gstreamer-devel
mailing list