clock: Use g_atomic_rc_box for refcounting entry clocks
authorNirbheek Chauhan <nirbheek@centricular.com>
Wed, 8 Jun 2022 06:03:22 +0000 (11:33 +0530)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 10 Jun 2022 06:01:41 +0000 (06:01 +0000)
commit604b92b9cb348ec8938bfdc65b42f5ce66a59121
tree2e93ec5ef8219ff6435092ff00dbc97c340b0887
parent9d9e59622f0531781a76e1d8ac96471cb14c6677
clock: Use g_atomic_rc_box for refcounting entry clocks

g_atomic_rc_box was added in GLib 2.58, and we require 2.62 now, so we
can fix the FIXME and use this.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2568>
subprojects/gstreamer/gst/gst_private.h
subprojects/gstreamer/gst/gstclock.c