GNOME Bugzilla – Bug 746302
gstpad: relinking outside streaming thread sometimes results in events getting lost
Last modified: 2018-11-03 12:26:02 UTC
Created attachment 299530 [details] [review] Patch The problem that's quite racy and difficult to reproduce. Basically we are relinking element outside streaming thread, which occasionally results in some sticky events getting lost. The problem is in push_sticky. While the gst_pad_push_event_unchecked call is in progress, the pad peer changes. But regardless of that, ev->received is set to TRUE. Patch corrects this by checking if the peerpad really has received the event. If not, it will be resend in next check_sticky.
Created attachment 299531 [details] [review] Patch with corrected log message
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gstreamer/issues/99.