Avoid gst_discoverer_stop on all OSes except Linux
This commit is contained in:
parent
f5d2910638
commit
d0eb1ba96e
|
@ -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_);
|
||||||
|
|
Loading…
Reference in New Issue