Fix cast warnings with MSVC
This commit is contained in:
@@ -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_;
|
||||
|
||||
Reference in New Issue
Block a user