Avoid gst_discoverer_stop on all OSes except Linux

This commit is contained in:
Jonas Kvinge
2019-09-14 20:11:29 +02:00
parent f5d2910638
commit d0eb1ba96e

View File

@@ -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_);