зеркало из https://github.com/mozilla/gecko-dev.git
b20d1d8c23
In bug 1258870 I changed the media code so that we dropped all late video frames. Without this, our A/V sync was broken when the decode was struggling to keep up, and we weren't reporting dropped frames when the decode couldn't keep up, and so players couldn't adapt to a bitrate which the decode could keep up on. However, dropping all late frames broke talos tests which relied on the old behaviour of us rendering video frames that were late. So this patch adds a pref to cause the frame dropping code to not drop the last frame in the queue, so there will always be something for the compositor to composit. This means talos will once again be able to test how fast it can composit frames that aren't supposed to be drawn. The pref is media.ruin-av-sync.enabled. It defaults to false. MozReview-Commit-ID: J3VvpzoDRmI --HG-- extra : rebase_source : ee24f37f201ef266e0894ca2c5afda498629ec0a |
||
---|---|---|
.. | ||
AudioSink.h | ||
AudioSinkWrapper.cpp | ||
AudioSinkWrapper.h | ||
DecodedAudioDataSink.cpp | ||
DecodedAudioDataSink.h | ||
DecodedStream.cpp | ||
DecodedStream.h | ||
MediaSink.h | ||
OutputStreamManager.cpp | ||
OutputStreamManager.h | ||
VideoSink.cpp | ||
VideoSink.h | ||
moz.build |