projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add ENABLE_GSTREAMERMM, make gstreamermm support optional.
[pulseview.git]
/
main.cpp
diff --git
a/main.cpp
b/main.cpp
index fca9aa7966e5b8f7f8be420ef1260953a7860b98..857c36a9c224567f78cd055a70df2566ffdbe2ad 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-26,7
+26,9
@@
#include <getopt.h>
#include <vector>
#include <getopt.h>
#include <vector>
+#ifdef ENABLE_GSTREAMERMM
#include <gstreamermm.h>
#include <gstreamermm.h>
+#endif
#include <libsigrokcxx/libsigrokcxx.hpp>
#include <libsigrokcxx/libsigrokcxx.hpp>
@@
-171,8
+173,10
@@
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
// Initialise gstreamermm. Must be called before any other GLib stuff.
Gst::init();
// Initialise gstreamermm. Must be called before any other GLib stuff.
Gst::init();
+#endif
Application a(argc, argv);
Application a(argc, argv);