X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=main.cpp;h=a4c7e72badfd6fb4fca88e3cf559d47c5a4586da;hp=fca9aa7966e5b8f7f8be420ef1260953a7860b98;hb=045d81160abe3e545fc44e3b4246b9ed336a7841;hpb=c9f573751bab3f53066aa87486f38216fde67ac8 diff --git a/main.cpp b/main.cpp index fca9aa7..a4c7e72 100644 --- a/main.cpp +++ b/main.cpp @@ -26,7 +26,10 @@ #include #include +#ifdef ENABLE_GSTREAMERMM #include +#include +#endif #include @@ -171,8 +174,10 @@ int main(int argc, char *argv[]) bool do_scan = true; bool show_version = false; +#ifdef ENABLE_GSTREAMERMM // Initialise gstreamermm. Must be called before any other GLib stuff. Gst::init(); +#endif Application a(argc, argv);