зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1692582 - Fix incorrect format specifier for negative duration log. r=alwu
My last patch used the incorrect format specifier (%d) when logging the seconds for a negative timestamp. This should be a %f as the value is a double. Differential Revision: https://phabricator.services.mozilla.com/D114299
This commit is contained in:
Родитель
1e02685f75
Коммит
e3c10d26b5
|
@ -523,7 +523,7 @@ TimeUnit WMFVideoMFTManager::GetSampleDurationOrLastKnownDuration(
|
|||
// A negative duration will cause issues up the stack. It's also unclear
|
||||
// why this would happen, but the API allows for it by returning a signed
|
||||
// int, so we handle it here.
|
||||
LOG("Got negative sample duration: %d seconds. Using mLastDuration "
|
||||
LOG("Got negative sample duration: %f seconds. Using mLastDuration "
|
||||
"instead.",
|
||||
duration.ToSeconds());
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче