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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Nicolas Dufresne-5
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 ?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment