1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-29 05:57:37 +02:00

lavf: add a flag for experimental (de)muxers

This commit is contained in:
Anton Khirnov
2022-01-02 18:38:02 +01:00
parent 5e2a1f1e7d
commit be97d2a825
4 changed files with 13 additions and 1 deletions

View File

@@ -158,6 +158,8 @@ const AVInputFormat *av_probe_input_format3(const AVProbeData *pd,
}
while ((fmt1 = av_demuxer_iterate(&i))) {
if (fmt1->flags & AVFMT_EXPERIMENTAL)
continue;
if (!is_opened == !(fmt1->flags & AVFMT_NOFILE) && strcmp(fmt1->name, "image2"))
continue;
score = 0;