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:
Bryce Seager van Dyk 2021-05-05 15:54:30 +00:00
Родитель 1e02685f75
Коммит e3c10d26b5
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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 {