ffmpegdecoder: add comment

This commit is contained in:
Thomas Wilshaw
2022-10-25 17:39:45 +01:00
parent d011229864
commit 9bc10e8301
+2
View File
@@ -352,6 +352,8 @@ FootageDescription FFmpegDecoder::Probe(const QString &filename, CancelAtom *can
bool bad_duration = false;
// Catch when ffmpeg uses its inaccurate method of duration estimation so we can
// use manual calculation
if (fmt_ctx->duration_estimation_method == AVFMT_DURATION_FROM_BITRATE) {
bad_duration = true;
qWarning() << "Potentially bad duration estimation, using fallback. This could be slow.";