Was broken by https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/819
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/871>
break;
}
case GST_EVENT_SEGMENT:{
+ guint32 seqnum = gst_event_get_seqnum (event);
/* Drop segment event, we create our own one */
gst_event_copy_segment (event, &spad->segment);
gst_event_replace (&event, NULL);
}
}
event = gst_event_new_segment (&segment);
- gst_event_set_seqnum (event, gst_event_get_seqnum (event));
+ gst_event_set_seqnum (event, seqnum);
g_mutex_unlock (&self->lock);
}