mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 05:55:07 +00:00
Merge commit '8b524ab0c43c1767919530abb79d3656113cdc47'
* commit '8b524ab0c43c1767919530abb79d3656113cdc47': movenc: Add a warning message if conflicting options have been specified Conflicts: libavformat/movenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
ada9b17e7a
@ -3610,9 +3610,11 @@ static int mov_write_header(AVFormatContext *s)
|
||||
/* faststart: moov at the beginning of the file, if supported */
|
||||
if (mov->flags & FF_MOV_FLAG_FASTSTART) {
|
||||
if ((mov->flags & FF_MOV_FLAG_FRAGMENT) ||
|
||||
(s->flags & AVFMT_FLAG_CUSTOM_IO))
|
||||
(s->flags & AVFMT_FLAG_CUSTOM_IO)) {
|
||||
av_log(s, AV_LOG_WARNING, "The faststart flag is incompatible "
|
||||
"with fragmentation and custom IO, disabling faststart\n");
|
||||
mov->flags &= ~FF_MOV_FLAG_FASTSTART;
|
||||
else
|
||||
} else
|
||||
mov->reserved_moov_size = -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user