Modifies a pointer to a GstEvent to point to a different GstEvent. The
modification is done atomically (so this is useful for ensuring thread safety
in some cases), and the reference counts are updated appropriately (the old
event is unreffed, the new one is reffed).
Either new_event or the GstEvent pointed to by old_event may be NULL.
Modifies a pointer to a GstEvent to point to a different GstEvent. The modification is done atomically (so this is useful for ensuring thread safety in some cases), and the reference counts are updated appropriately (the old event is unreffed, the new one is reffed). Either new_event or the GstEvent pointed to by old_event may be NULL.