[Bug 702697] adder: Seek while paused causes deadlock

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jun 19 15:20:45 PDT 2013


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

--- Comment #2 from Brendan Long <self at brendanlong.com> 2013-06-19 22:20:39 UTC ---
`GST_COLLECT_PADS_STREAM_LOCK` is sometimes called in `gst_collect_pads_event`
before it gets called in `gst_adder_sink_event`, but they should be in the same
thread, right?

Changing `gst_adder_sink_event` to not do that lock seems to work, but I'm
guessing it's not correct:

    case GST_EVENT_FLUSH_START:
      /* ensure that we will send a flush stop */
      adder->flush_stop_pending = TRUE;
      res = gst_collect_pads_event_default (pads, pad, event, discard);
      event = NULL;
      break;

-- 
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