summaryrefslogtreecommitdiff
path: root/libavformat/isom.h
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2023-01-17 10:56:54 +0200
committerMartin Storsjö <martin@martin.st>2023-01-31 14:29:08 +0200
commit431f6260ac6408fdccfe06dd5276084b17c3557f (patch)
tree28a3ff5dcfa0c974796adbe970492fec89c79af6 /libavformat/isom.h
parent01f58f36465a13db069641cca47fa9777f03b875 (diff)
downloadffmpeg-431f6260ac6408fdccfe06dd5276084b17c3557f.tar.gz
mov: Reduce the verbosity of the warning about fragmented MP4 vs advanced edit lists
Only warn if the advanced_editlist option is enabled (it is enabled by default though) so we don't print one warning for each track, and demote the warning to AV_LOG_LEVEL_VERBOSE; this message does get generated whenever parsing a fragmented MP4 file, regardless of whether the file actually uses multiple edits or not. Later when parsing the mov structures, the demuxer does warn if the file did contain multiple edits which would require the advanced_editlist option enabled for decoding correctly. Adjust the warning message for the case when the file seemed like it actually would have needed handling of advanced edit lists, to reflect the fact that it doesn't help to try set the option as it has been automatically disabled. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavformat/isom.h')
-rw-r--r--libavformat/isom.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/isom.h b/libavformat/isom.h
index 64fb7065d5..5107b4eb74 100644
--- a/libavformat/isom.h
+++ b/libavformat/isom.h
@@ -286,6 +286,7 @@ typedef struct MOVContext {
int use_absolute_path;
int ignore_editlist;
int advanced_editlist;
+ int advanced_editlist_autodisabled;
int ignore_chapters;
int seek_individually;
int64_t next_root_atom; ///< offset of the next root atom