Revert "splitmuxsrc: Make sure events are writable"

This reverts commit 3ac5430311.

There's no need to make a freshly created event writable,
and the other half of this patch was already fixed
and pushed in f2f15a1
This commit is contained in:
Jan Schmidt 2018-07-17 01:33:55 +10:00
parent 3ac5430311
commit f667ab05d2

View file

@ -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;
}