]> sigrok.org Git - pulseview.git/commitdiff
flow: Call Srf::init() early in main().
authorUwe Hermann <redacted>
Thu, 10 Jan 2019 01:27:09 +0000 (02:27 +0100)
committerUwe Hermann <redacted>
Thu, 10 Jan 2019 01:40:14 +0000 (02:40 +0100)
main.cpp

index d4428ae8bd1c5d7dd8fe71f345e4a50937994e60..28c0a41f6da1e6800413e20b67f79ea9f3c617ca 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -177,6 +177,9 @@ int main(int argc, char *argv[])
 #ifdef ENABLE_FLOW
        // Initialise gstreamermm. Must be called before any other GLib stuff.
        Gst::init();
+
+       // Initialize libsigrokflow. Must be called after Gst::init().
+       Srf::init();
 #endif
 
        Application a(argc, argv);