Skip to content

tsdemux: Don't trigger a program change when falling back to ignore-pcr behaviour

Since commit a79a756b (part of gst-plugins-bad!2422 (merged)) we could change to ignore-pcr automatically at 500ms into a live stream when no PCR is seen by then. However the stream counting in program change detection was wrongly considering ignore-pcr programs to have a separate PCR PID, even though we are actually ignoring the PCR PID completely, resulting in an erroneous program switch getting triggered from the different stream count. This in turn would send an EOS and switch out the pads for what actually is still the same program, while we intended to simply apply a workaround for broken encoders.

Edited by Mart Raudsepp

Merge request reports