qmlglsink Problem on ARM based NV Jetson TX1 - Cannot retrieve current context (NULL)

realBohd2 realsfg at gmx.de
Thu Aug 1 13:32:19 UTC 2019


> How do you start your pipeline?

Thanks for your feedback.

The startup is pretty basic I think.
Please see here the startup snippet:

int main(int argc, char *argv[])
{
    int ret;

    // Init gstreamer + debug level.
    gst_init (&argc, &argv);
    gst_debug_set_active(TRUE);
    gst_debug_set_default_threshold(GST_LEVEL_DEBUG);

    // Preload qmlglsink to have it properly available as module in qml.
    GstElement *sink = gst_element_factory_make ("qmlglsink", nullptr);
    gst_object_unref(sink);

    QGuiApplication app(argc, argv);

    QQmlApplicationEngine engine;
    engine.load(QUrl(QStringLiteral("qrc:/main.qml")));

.....

As I wrote, when loading the qml, the error with the NULL context occurs.





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list