[neon/qt6/qt6-multimedia/Neon/release] debian/patches: more patchiness
Carlos De Maine
null at kde.org
Mon Oct 28 11:29:08 GMT 2024
Git commit 55e79ede8212fa0c4ef9221c8ac31701db138790 by Carlos De Maine.
Committed on 28/10/2024 at 11:29.
Pushed by carlosdem into branch 'Neon/release'.
more patchiness
M +15 -0 debian/patches/null_pointers.diff
https://invent.kde.org/neon/qt6/qt6-multimedia/-/commit/55e79ede8212fa0c4ef9221c8ac31701db138790
diff --git a/debian/patches/null_pointers.diff b/debian/patches/null_pointers.diff
index 023000a..ab773ae 100644
--- a/debian/patches/null_pointers.diff
+++ b/debian/patches/null_pointers.diff
@@ -11,3 +11,18 @@ index 27982bd..4e8f4dd 100644 (file)
QUrl m_media;
QString m_mimeType;
[[nodiscard]] bool isValid() const { return m_stream || !m_media.isEmpty(); }
+diff --git a/src/plugins/multimedia/gstreamer/common/qgst_p.h b/src/plugins/multimedia/gstreamer/common/qgst_p.h
+index 169b87f..90cf058 100644 (file)
+--- a/src/plugins/multimedia/gstreamer/common/qgst_p.h
++++ b/src/plugins/multimedia/gstreamer/common/qgst_p.h
+@@ -915,8 +915,8 @@ public:
+ }
+
+ template <typename... Ts>
+- std::enable_if_t<(std::is_base_of_v<QGstElement, Ts> && ...), void>
+- stopAndRemoveElements(Ts... ts)
++ std::enable_if_t<(std::is_base_of_v<QGstElement, std::remove_reference_t<Ts>> && ...), void>
++ stopAndRemoveElements(Ts &&...ts)
+ {
+ bool stateChangeSuccessful = (ts.setStateSync(GST_STATE_NULL) && ...);
+ Q_ASSERT(stateChangeSuccessful);
More information about the Neon-commits
mailing list