mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Revert "splitmuxsrc: Make sure events are writable"
This reverts commit3ac5430311
. There's no need to make a freshly created event writable, and the other half of this patch was already fixed and pushed inf2f15a1
This commit is contained in:
parent
3ac5430311
commit
f667ab05d2
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue