⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176475 in webkit


Ignore:
Timestamp:
Nov 21, 2014, 3:24:20 PM (12 years ago)
Author:
jer.noble@apple.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r176473 r176475  
     12014-11-21  Jer Noble  <jer.noble@apple.com>
     2
     3        [Mac] Delay of 1-2s after the first paint of a video frame.
     4        https://bugs.webkit.org/show_bug.cgi?id=138979
     5
     6        Reviewed by Eric Carlson.
     7
     8        Only bother waiting for a signal that a new image is ready when the image isn't ready in the first place.
     9
     10        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
     11        (WebCore::MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput):
     12
    1132014-11-21  Glenn Adams  <glenn@skynav.com> and Myles C. Maxfield  <mmaxfield@apple.com>
    214
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

    r176108 r176475  
    21552155void MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput(GraphicsContext* context, const IntRect& outputRect)
    21562156{
    2157     if (m_videoOutput && !m_lastImage)
     2157    if (m_videoOutput && !m_lastImage && !videoOutputHasAvailableFrame())
    21582158        waitForVideoOutputMediaDataWillChange();
    21592159
Note: See TracChangeset for help on using the changeset viewer.