Otherwise multiple code paths with the same event could change the
values on each other.
https://bugzilla.gnome.org/show_bug.cgi?id=796615
{
g_return_if_fail (GST_IS_EVENT (event));
g_return_if_fail (seqnum != GST_SEQNUM_INVALID);
+ g_return_if_fail (gst_event_is_writable (event));
GST_EVENT_SEQNUM (event) = seqnum;
}
gst_event_set_running_time_offset (GstEvent * event, gint64 offset)
{
g_return_if_fail (GST_IS_EVENT (event));
+ g_return_if_fail (gst_event_is_writable (event));
((GstEventImpl *) event)->running_time_offset = offset;
}