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_) {
|
||||
#ifndef Q_OS_WIN
|
||||
#ifdef Q_OS_LINUX
|
||||
gst_discoverer_stop(discoverer_);
|
||||
#endif
|
||||
g_object_unref(discoverer_);
|
||||
|
|
Loading…
Reference in New Issue