gst-plugins-good: splitmuxsrc: Make sure events are writable

Nicolas Dufresne nicolas at ndufresne.ca
Mon Jul 16 15:30:46 UTC 2018


Le lundi 16 juillet 2018 à 15:22 +0000, Jan Schmidt a écrit :
>        gst_event_unref (event);
>        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);
> +      }
>        splitpad->sent_segment = TRUE;
>        break;
>      }


I don't see the point of this change. You just created the event, how
could it be non-writable ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180716/b8e6a6b3/attachment.sig>


More information about the gstreamer-devel mailing list