[Bug 722560] rtprtxreceive: cleanup orphan retransmission requests

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 21 07:48:56 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=722560
  GStreamer | gst-plugins-good | git

--- Comment #2 from George Kiagiadakis <kiagiadakis.george at gmail.com> 2014-01-21 15:48:52 UTC ---
I must have been sleeping while I was writing that function... I had the lock
in my mind, but didn't type it. Anyway, it's true that I hadn't really
considered the case of the element being restarted before the callback gets
fired, so since I now have to maintain a list of pending removals anyway, I
decided to do it in a different way, which I was thinking from the start. There
is no async callback from the clock anymore. The pending removals list is
checked in chain() and if it is not empty, it is iterated and the time of the
removals is checked against the current clock time. If the time is later than
the deadline, the association is removed. The result is the same as in the
previous solution, and it's simpler.

I have edited the commits in the same branch.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list