diff options
Diffstat (limited to 'www/chromium/files/patch-media_filters_decrypting__audio__decoder.cc')
-rw-r--r-- | www/chromium/files/patch-media_filters_decrypting__audio__decoder.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/chromium/files/patch-media_filters_decrypting__audio__decoder.cc b/www/chromium/files/patch-media_filters_decrypting__audio__decoder.cc new file mode 100644 index 000000000000..8db3560b49e8 --- /dev/null +++ b/www/chromium/files/patch-media_filters_decrypting__audio__decoder.cc @@ -0,0 +1,11 @@ +--- media/filters/decrypting_audio_decoder.cc.orig 2016-05-11 19:02:24 UTC ++++ media/filters/decrypting_audio_decoder.cc +@@ -29,7 +29,7 @@ static inline bool IsOutOfSync(const bas + // Out of sync of 100ms would be pretty noticeable and we should keep any + // drift below that. + const int64_t kOutOfSyncThresholdInMilliseconds = 100; +- return std::abs(timestamp_1.InMilliseconds() - timestamp_2.InMilliseconds()) > ++ return std::labs(timestamp_1.InMilliseconds() - timestamp_2.InMilliseconds()) > + kOutOfSyncThresholdInMilliseconds; + } + |