X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=main.cpp;h=28c0a41f6da1e6800413e20b67f79ea9f3c617ca;hp=a4c7e72badfd6fb4fca88e3cf559d47c5a4586da;hb=024db17bd00596dc4416c3f96c30ead6f1fa2f00;hpb=045d81160abe3e545fc44e3b4246b9ed336a7841 diff --git a/main.cpp b/main.cpp index a4c7e72..28c0a41 100644 --- a/main.cpp +++ b/main.cpp @@ -26,7 +26,7 @@ #include #include -#ifdef ENABLE_GSTREAMERMM +#ifdef ENABLE_FLOW #include #include #endif @@ -174,9 +174,12 @@ int main(int argc, char *argv[]) bool do_scan = true; bool show_version = false; -#ifdef ENABLE_GSTREAMERMM +#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);