Skip to content

urisourebin: make sure output slot is being removed when no avaliable pending pad

HOONHEE LEE requested to merge (removed):master into master

Let's pretend that demuxer srcpad is removed and there's no available pending pad. When demuxer srcpad is removed, generally EOS is fired together.

Internally it is marked as custom-eos in above case.

  • pad_removed_cb
  • demux_pad_events

They push the custom-eos event to output slot (e.g Queue) in parallel. Sometimes it recognizes actual EOS and does not remove linked output slot when the custom-eos is originated from demux_pad_events.

It may cause abnormal behaviour when demuxer srcpad is added again.

#526

Merge request reports