Commit e3c10d26 authored by Bryce Seager van Dyk's avatar Bryce Seager van Dyk
Browse files

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
parent 1e02685f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {