#include <getopt.h>
#include <vector>
-#ifdef ENABLE_GSTREAMERMM
+#ifdef ENABLE_FLOW
#include <gstreamermm.h>
#include <libsigrokflow/libsigrokflow.hpp>
#endif
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);