Fix cast warnings with MSVC

This commit is contained in:
Jonas Kvinge
2025-03-25 00:37:07 +01:00
parent d5281abb22
commit 5e031be42c
59 changed files with 207 additions and 207 deletions

View File

@@ -24,6 +24,8 @@
#include "config.h"
#include <optional>
#include <glib.h>
#include <glib-object.h>
#include <glib/gtypes.h>
@@ -357,15 +359,15 @@ class GstEnginePipeline : public QObject {
GstElement *equalizer_preamp_;
GstElement *eventprobe_;
gulong upstream_events_probe_cb_id_;
gulong buffer_probe_cb_id_;
gulong pad_probe_cb_id_;
glong element_added_cb_id_;
glong element_removed_cb_id_;
glong pad_added_cb_id_;
glong notify_source_cb_id_;
glong about_to_finish_cb_id_;
glong notify_volume_cb_id_;
std::optional<gulong> upstream_events_probe_cb_id_;
std::optional<gulong> buffer_probe_cb_id_;
std::optional<gulong> pad_probe_cb_id_;
std::optional<gulong> element_added_cb_id_;
std::optional<gulong> element_removed_cb_id_;
std::optional<gulong> pad_added_cb_id_;
std::optional<gulong> notify_source_cb_id_;
std::optional<gulong> about_to_finish_cb_id_;
std::optional<gulong> notify_volume_cb_id_;
bool logged_unsupported_analyzer_format_;
mutex_protected<bool> about_to_finish_;