Commit bb313547 authored by François Cartegnie's avatar François Cartegnie 🤞

demux: hls: restart TS demux on switch

Because there's zero requirement in spec
to flag PAT or PMT for update or use another
program on switch
parent 771a2a17
......@@ -65,6 +65,8 @@ AbstractDemuxer * HLSStream::createDemux(const StreamFormat &format)
case StreamFormat::MPEG2TS:
ret = new Demuxer(p_realdemux, "ts", fakeesout->getEsOut(), demuxersource);
if(ret)
ret->setCanDetectSwitches(false);
break;
case StreamFormat::MP4:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment