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); gst_event_unref (event);
event = gst_event_new_segment (&seg); event = gst_event_new_segment (&seg);
if (splitmux->segment_seqnum) { if (splitmux->segment_seqnum)
event = gst_event_make_writable (event);
gst_event_set_seqnum (event, splitmux->segment_seqnum); gst_event_set_seqnum (event, splitmux->segment_seqnum);
}
splitpad->sent_segment = TRUE; splitpad->sent_segment = TRUE;
break; break;
} }