Skip to content

rtpjitterbuffer: Avoid deadlock on flush

Edward Hervey requested to merge bilboed/gst-plugins-good:jitterdeadlock into master

When a GST_EVENT_FLUSH_START reaches the jitterbuffer, there is a chance that our task is currently blocking waiting for a timer.

There was two problems:

  • That wait wasn't checking for flushing situations
  • The flushing handling wasn't waking up that conditional (to check whether it should abort)

Merge request reports