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
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ GstEnginePipeline::~GstEnginePipeline() {
} }
if (discoverer_) { if (discoverer_) {
#ifndef Q_OS_WIN #ifdef Q_OS_LINUX
gst_discoverer_stop(discoverer_); gst_discoverer_stop(discoverer_);
#endif #endif
g_object_unref(discoverer_); g_object_unref(discoverer_);