gst_buffer_foreach_meta fails when removing metas after the first
By not tracking the "head" of the iteration, GstMeta linked list pointers can become corrupted when removing items beyond the first.
By not tracking the "head" of the iteration, GstMeta linked list pointers can become corrupted when removing items beyond the first.