summaryrefslogtreecommitdiff
path: root/D145966.diff
diff options
context:
space:
mode:
Diffstat (limited to 'D145966.diff')
-rw-r--r--D145966.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/D145966.diff b/D145966.diff
new file mode 100644
index 0000000..2ecfaec
--- /dev/null
+++ b/D145966.diff
@@ -0,0 +1,20 @@
+diff --git a/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp b/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
+--- a/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
++++ b/dom/media/platforms/ffmpeg/FFmpegVideoDecoder.cpp
+@@ -780,12 +780,13 @@
+ mDecodedFrames++;
+ float decodeTime = (TimeStamp::Now() - aDecodeStart).ToMilliseconds();
+ mAverangeDecodeTime =
+ (mAverangeDecodeTime * (mDecodedFrames - 1) + decodeTime) /
+ mDecodedFrames;
+- FFMPEG_LOG(" averange frame decode time %.2f ms decoded frames %d\n",
+- mAverangeDecodeTime, mDecodedFrames);
++ FFMPEG_LOG(
++ " decode time %.2f ms averange decode time %.2f ms decoded frames %d\n",
++ decodeTime, mAverangeDecodeTime, mDecodedFrames);
+ #if LIBAVCODEC_VERSION_MAJOR >= 58
+ int frameDuration = mFrame->pkt_duration;
+ if (frameDuration > 0 && frameDuration / 1000.0 < decodeTime) {
+ mDecodedFramesLate++;
+ FFMPEG_LOG(
+
bgstack15