Bug 1118528 - Increase fuzz threshold for mp4. r=ajones
authorMatt Woodrow <mwoodrow@mozilla.com>
Mon, 12 Jan 2015 09:48:23 +1300
changeset 248985 7e4003516dd5f56463945c8e06515f28abefa83c
parent 248984 6f70785ed447f102427cc01a76cdb1ddfe14fce6
child 248986 19b8c420b13a31d1d1e12cc642493be2e82059de
push id4489
push userraliiev@mozilla.com
push dateMon, 23 Feb 2015 15:17:55 +0000
treeherdermozilla-beta@fd7c3dc24146 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersajones
bugs1118528
milestone37.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1118528 - Increase fuzz threshold for mp4. r=ajones
dom/media/mediasource/ContainerParser.cpp
--- a/dom/media/mediasource/ContainerParser.cpp
+++ b/dom/media/mediasource/ContainerParser.cpp
@@ -284,19 +284,21 @@ public:
     }
     aStart = compositionRange.start;
     aEnd = compositionRange.end;
     MSE_DEBUG("MP4ContainerParser(%p)::ParseStartAndEndTimestamps: [%lld, %lld]",
               this, aStart, aEnd);
     return true;
   }
 
+  // Gaps of up to 20ms (marginally longer than a single frame at 60fps) are considered
+  // to be sequential frames.
   int64_t GetRoundingError()
   {
-    return 1000;
+    return 20000;
   }
 
 private:
   nsRefPtr<mp4_demuxer::BufferStream> mStream;
   nsAutoPtr<mp4_demuxer::MoofParser> mParser;
   Monitor mMonitor;
 };