Title: [176475] trunk/Source/WebCore
- Revision
- 176475
- Author
- [email protected]
- Date
- 2014-11-21 15:24:20 -0800 (Fri, 21 Nov 2014)
Log Message
[Mac] Delay of 1-2s after the first paint of a video frame.
https://bugs.webkit.org/show_bug.cgi?id=138979
Reviewed by Eric Carlson.
Only bother waiting for a signal that a new image is ready when the image isn't ready in the first place.
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (176474 => 176475)
--- trunk/Source/WebCore/ChangeLog 2014-11-21 23:10:59 UTC (rev 176474)
+++ trunk/Source/WebCore/ChangeLog 2014-11-21 23:24:20 UTC (rev 176475)
@@ -1,3 +1,15 @@
+2014-11-21 Jer Noble <[email protected]>
+
+ [Mac] Delay of 1-2s after the first paint of a video frame.
+ https://bugs.webkit.org/show_bug.cgi?id=138979
+
+ Reviewed by Eric Carlson.
+
+ Only bother waiting for a signal that a new image is ready when the image isn't ready in the first place.
+
+ * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+ (WebCore::MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput):
+
2014-11-21 Glenn Adams <[email protected]> and Myles C. Maxfield <[email protected]>
Add support to -webkit-line-break property for CSS3 Text line-break property values and semantics.
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (176474 => 176475)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2014-11-21 23:10:59 UTC (rev 176474)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm 2014-11-21 23:24:20 UTC (rev 176475)
@@ -2154,7 +2154,7 @@
void MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput(GraphicsContext* context, const IntRect& outputRect)
{
- if (m_videoOutput && !m_lastImage)
+ if (m_videoOutput && !m_lastImage && !videoOutputHasAvailableFrame())
waitForVideoOutputMediaDataWillChange();
updateLastImage();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes