diff options
-rw-r--r-- | src/gsttools/qgstreamerbushelper.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gsttools/qgstreamerbushelper.cpp b/src/gsttools/qgstreamerbushelper.cpp index bad1d210a..5df046fde 100644 --- a/src/gsttools/qgstreamerbushelper.cpp +++ b/src/gsttools/qgstreamerbushelper.cpp @@ -79,7 +79,11 @@ public: delete m_intervalTimer; if (m_tag) +#if GST_CHECK_VERSION(1, 6, 0) + gst_bus_remove_watch(m_bus); +#else g_source_remove(m_tag); +#endif } GstBus* bus() const { return m_bus; } |