Skip to content

qtdemux: Refuse seeks in BYTES format

If downstream tries to seek in BYTES format, don't pass that through to upstream. The byte positions downstream requests won't make any sense in the muxed stream. There might be other formats we want to pass through to upstream, but BYTES is not one of them.

This fixes a situation where we're playing a fragmented mp4 over http and qtdemux refuses the initial seek (in TIME format), but then h264parse/baseparse send a seek in BYTES format and everything falls apart.

Merge request reports