From: Uwe Hermann Date: Thu, 10 Jan 2019 01:27:09 +0000 (+0100) Subject: flow: Call Srf::init() early in main(). X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=024db17bd00596dc4416c3f96c30ead6f1fa2f00;p=pulseview.git flow: Call Srf::init() early in main(). --- diff --git a/main.cpp b/main.cpp index d4428ae8..28c0a41f 100644 --- 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);