You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
movenc: Readd an accidentally removed condition
This was removed accidentally as part of 847bf598
. This could cause
groundless warning logging.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -3372,7 +3372,7 @@ int ff_mov_write_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
trk->frag_start = pkt->dts;
|
trk->frag_start = pkt->dts;
|
||||||
trk->start_dts = 0;
|
trk->start_dts = 0;
|
||||||
trk->frag_discont = 0;
|
trk->frag_discont = 0;
|
||||||
} else if (mov->fragments >= 1)
|
} else if (pkt->dts && mov->fragments >= 1)
|
||||||
av_log(s, AV_LOG_WARNING,
|
av_log(s, AV_LOG_WARNING,
|
||||||
"Track %d starts with a nonzero dts %"PRId64", while the moov "
|
"Track %d starts with a nonzero dts %"PRId64", while the moov "
|
||||||
"already has been written. Set the delay_moov flag to handle "
|
"already has been written. Set the delay_moov flag to handle "
|
||||||
|
Reference in New Issue
Block a user