Skip to content

gst: don't use volatile to mean atomic

Olivier Crête requested to merge ocrete/gst-plugins-base:gl-no-volatile into master

volatile is not sufficient to provide atomic guarantees and real atomics should be used instead. GCC 11 has started warning about using volatile with atomic operations.

https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1719

Discovered in gst-plugins-good#868 (closed)

Seems like this one was missed from the last batch.

Merge request reports