projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DecoderSelector: Use srd_decoder_get_by_id()
[pulseview.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index a4c7e72badfd6fb4fca88e3cf559d47c5a4586da..28c0a41f6da1e6800413e20b67f79ea9f3c617ca 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-26,7
+26,7
@@
#include <getopt.h>
#include <vector>
#include <getopt.h>
#include <vector>
-#ifdef ENABLE_
GSTREAMERMM
+#ifdef ENABLE_
FLOW
#include <gstreamermm.h>
#include <libsigrokflow/libsigrokflow.hpp>
#endif
#include <gstreamermm.h>
#include <libsigrokflow/libsigrokflow.hpp>
#endif
@@
-174,9
+174,12
@@
int main(int argc, char *argv[])
bool do_scan = true;
bool show_version = false;
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();
// 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);
#endif
Application a(argc, argv);