If we keep the old events they can be end up being passed to the app, that could discard the protection information because it has been seen before. Drive by improvement: use g_queue_clear_full instead of foreach+clear for protection events. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3547>