mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 20:32:13 +00:00
demux_lavf: disable various other special behavior if hacks disabled
This affects in particular the heuristic that enables byte seeks in some cases with .ts input. --demuxer-lavf-hacks=no should disable this behavior now.
This commit is contained in:
parent
4d1ffecabc
commit
9f79809930
@ -477,7 +477,8 @@ static int lavf_check_file(demuxer_t *demuxer, enum demux_check check)
|
||||
priv->format_hack.image_format = true;
|
||||
}
|
||||
|
||||
priv->avif_flags = priv->avif->flags | priv->format_hack.if_flags;
|
||||
if (lavfdopts->hacks)
|
||||
priv->avif_flags = priv->avif->flags | priv->format_hack.if_flags;
|
||||
|
||||
demuxer->filetype = priv->avif->name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user