X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=main.cpp;h=28c0a41f6da1e6800413e20b67f79ea9f3c617ca;hp=857c36a9c224567f78cd055a70df2566ffdbe2ad;hb=b54aeaea0dd45742324d9fce9d0cc6f5ed49b506;hpb=5252f4388cba35647842c720a5dd184d6fccaa08 diff --git a/main.cpp b/main.cpp index 857c36a9..28c0a41f 100644 --- a/main.cpp +++ b/main.cpp @@ -26,8 +26,9 @@ #include #include -#ifdef ENABLE_GSTREAMERMM +#ifdef ENABLE_FLOW #include +#include #endif #include @@ -173,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);