зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1109644. Part 3: Make MediaEngineDefaultVideoSource use GetEndOfAppendedData instead of aLastEndTime. r=jesup
--HG-- extra : rebase_source : d2285dad46e5b089b49e5ddce12564d5518c45a3
This commit is contained in:
Родитель
5b73829749
Коммит
2d76f54dbb
|
@ -256,7 +256,7 @@ MediaEngineDefaultVideoSource::NotifyPull(MediaStreamGraph* aGraph,
|
||||||
|
|
||||||
// Note: we're not giving up mImage here
|
// Note: we're not giving up mImage here
|
||||||
nsRefPtr<layers::Image> image = mImage;
|
nsRefPtr<layers::Image> image = mImage;
|
||||||
StreamTime delta = aDesiredTime - aLastEndTime;
|
StreamTime delta = aDesiredTime - aSource->GetEndOfAppendedData(aID);
|
||||||
|
|
||||||
if (delta > 0) {
|
if (delta > 0) {
|
||||||
// nullptr images are allowed
|
// nullptr images are allowed
|
||||||
|
|
Загрузка…
Ссылка в новой задаче