Title: [211977] trunk/Source/WebCore
Revision
211977
Author
[email protected]
Date
2017-02-09 12:22:31 -0800 (Thu, 09 Feb 2017)

Log Message

Fix some logging statements in MediaPlayerPrivateMediaStreamAVFObjC
https://bugs.webkit.org/show_bug.cgi?id=168063

Reviewed by Eric Carlson.

Make the format string match the types passed in (i.e., floats, not strings).

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
(WebCore::MediaPlayerPrivateMediaStreamAVFObjC::updateSampleTimes):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (211976 => 211977)


--- trunk/Source/WebCore/ChangeLog	2017-02-09 20:12:14 UTC (rev 211976)
+++ trunk/Source/WebCore/ChangeLog	2017-02-09 20:22:31 UTC (rev 211977)
@@ -1,3 +1,15 @@
+2017-02-09  Jer Noble  <[email protected]>
+
+        Fix some logging statements in MediaPlayerPrivateMediaStreamAVFObjC
+        https://bugs.webkit.org/show_bug.cgi?id=168063
+
+        Reviewed by Eric Carlson.
+
+        Make the format string match the types passed in (i.e., floats, not strings).
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm:
+        (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::updateSampleTimes):
+
 2017-02-09  Eric Carlson  <[email protected]>
 
         [MediaStream Mac] Handle NULL m_sampleBufferDisplayLayer

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm (211976 => 211977)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm	2017-02-09 20:12:14 UTC (rev 211976)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm	2017-02-09 20:22:31 UTC (rev 211977)
@@ -252,9 +252,9 @@
     if (delta < 0)
         LOG(Media, "%s(%p): *NOTE* audio sample at time %s is %f seconds late", loggingPrefix, this, toString(now).utf8().data(), -delta);
     else if (delta < .01)
-        LOG(Media, "%s(%p): *NOTE* audio sample at time %s is only %s seconds early", loggingPrefix, this, toString(now).utf8().data(), delta);
+        LOG(Media, "%s(%p): *NOTE* audio sample at time %s is only %f seconds early", loggingPrefix, this, toString(now).utf8().data(), delta);
     else if (delta > .3)
-        LOG(Media, "%s(%p): *NOTE* audio sample at time %s is %s seconds early!", loggingPrefix, this, toString(now).utf8().data(), delta);
+        LOG(Media, "%s(%p): *NOTE* audio sample at time %s is %f seconds early!", loggingPrefix, this, toString(now).utf8().data(), delta);
 #else
     UNUSED_PARAM(loggingPrefix);
 #endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to