X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=main.cpp;h=857c36a9c224567f78cd055a70df2566ffdbe2ad;hp=a77969ea7f72313e6c42b71cf0cd09980c53e0da;hb=5252f4388cba35647842c720a5dd184d6fccaa08;hpb=21f5864602c5c1920fc9b44813f31e789bee6895 diff --git a/main.cpp b/main.cpp index a77969e..857c36a 100644 --- a/main.cpp +++ b/main.cpp @@ -26,6 +26,10 @@ #include #include +#ifdef ENABLE_GSTREAMERMM +#include +#endif + #include #include @@ -169,6 +173,11 @@ 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); #ifdef ANDROID