flow: Call Srf::init() early in main().

This commit is contained in:
Uwe Hermann 2019-01-10 02:27:09 +01:00
parent 696c7eac4d
commit 024db17bd0
1 changed files with 3 additions and 0 deletions

View File

@ -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);