GNOME Bugzilla – Bug 796898
pad: Update pad offsets on the current event if the offset changed in pad probes
Last modified: 2018-08-02 07:59:34 UTC
Should be self-explanatory
Created attachment 373226 [details] [review] pad: Update pad offsets on the current event if the offset changed in pad probes
This is kind of related to https://bugzilla.gnome.org/show_bug.cgi?id=765049 and the new unit test there can actually be merged then. That other bug is still relevant though, for sink pads the sticky event handling with regards to pad probes is a bit inconsistent.
Actually not, because this still does not actually update *other* sticky events on the sinkpads when the offset is changing.
Review of attachment 373226 [details] [review]: Looks OK, except for one thing ::: gst/gstpad.c @@ +5633,3 @@ GstPadEventFullFunction eventfullfunc = NULL; GstObject *parent; + gint64 old_pad_offset = pad->offset; pad->offset is protected by the OBJECT_LOCK, that's not taken until the next line?
Created attachment 373228 [details] [review] pad: Update pad offsets on the current event if the offset changed in pad probes
Attachment 373228 [details] pushed as babd0e5 - pad: Update pad offsets on the current event if the offset changed in pad probes