gst: remove volatile, it causes a warning with newer gcc

See #1018
This commit is contained in:
Wim Taymans 2021-04-05 10:28:26 +02:00
parent 7bd6b725dc
commit 68804a3082

View file

@ -71,7 +71,7 @@ enum
GType
gst_pipewire_sink_mode_get_type (void)
{
static volatile gsize mode_type = 0;
static gsize mode_type = 0;
static const GEnumValue mode[] = {
{GST_PIPEWIRE_SINK_MODE_DEFAULT, "GST_PIPEWIRE_SINK_MODE_DEFAULT", "default"},
{GST_PIPEWIRE_SINK_MODE_RENDER, "GST_PIPEWIRE_SINK_MODE_RENDER", "render"},