Fwiw gst_pad_push_event already does NULL check and prints a Glib critical error message if that's the case. That's semantically equivalent to an assert according to the Glib documentation, so IMO we could just get rid of the checks on our side entirely, and do `push_event(gst_event_new...)`.