SIGN IN SIGN UP

loadfile: discard prefetched files if demuxer options changed

When using --prefetch-playlist, if demuxer options are changed in the
time window between the start of prefetching and the playback of the
next file, the old values are used. This includes setting demuxer
options in legacy extension auto profiles.

Fix this by setting a flag when demuxer options change and not using the
prefetched data when that flag is true.

UPDATE_DEMUXER is not added to demux.c's options because those already
support updates while playing.
G
Guido Cella committed
24db17d10f0be1ccd3c03ba4d06c304bc2541561
Parent: 1301287
Committed by Dudemanguy <random342@airmail.cc> on 1/27/2025, 7:32:52 PM