diff --git a/gst/multifile/gstsplitmuxsrc.c b/gst/multifile/gstsplitmuxsrc.c index 0de0db66b5..2434218cc3 100644 --- a/gst/multifile/gstsplitmuxsrc.c +++ b/gst/multifile/gstsplitmuxsrc.c @@ -480,10 +480,8 @@ gst_splitmux_handle_event (GstSplitMuxSrc * splitmux, gst_event_unref (event); event = gst_event_new_segment (&seg); - if (splitmux->segment_seqnum) { - event = gst_event_make_writable (event); + if (splitmux->segment_seqnum) gst_event_set_seqnum (event, splitmux->segment_seqnum); - } splitpad->sent_segment = TRUE; break; }