diff --git a/src/engine/gstenginepipeline.cpp b/src/engine/gstenginepipeline.cpp index 9ddb71d49..ea351b9d1 100644 --- a/src/engine/gstenginepipeline.cpp +++ b/src/engine/gstenginepipeline.cpp @@ -126,7 +126,7 @@ GstEnginePipeline::~GstEnginePipeline() { } if (discoverer_) { -#ifndef Q_OS_WIN +#ifdef Q_OS_LINUX gst_discoverer_stop(discoverer_); #endif g_object_unref(discoverer_);