Changeset 86245 in webkit


Ignore:
Timestamp:
May 11, 2011 10:41:35 AM (13 years ago)
Author:
eric.carlson@apple.com
Message:

2011-05-11 Eric Carlson <eric.carlson@apple.com>

Reviewed by Darin Adler.

Video track sometimes fails to draw.
https://bugs.webkit.org/show_bug.cgi?id=60635
<rdar://problem/9281951>

No new tests, covered by existing pixel tests.

  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::loadResource): Set display mode to "Unknown" to force a

recalculation, and media engine notification, the next time the state machine runs.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r86244 r86245  
     12011-05-11  Eric Carlson  <eric.carlson@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        Video track sometimes fails to draw.
     6        https://bugs.webkit.org/show_bug.cgi?id=60635
     7        <rdar://problem/9281951>
     8
     9        No new tests, covered by existing pixel tests.
     10
     11        * html/HTMLMediaElement.cpp:
     12        (WebCore::HTMLMediaElement::loadResource): Set display mode to "Unknown" to force a
     13            recalculation, and media engine notification, the next time the state machine runs.
     14
    1152011-05-11  Adam Roben  <aroben@apple.com>
    216
  • trunk/Source/WebCore/html/HTMLMediaElement.cpp

    r85949 r86245  
    711711    m_player->setPrivateBrowsingMode(privateMode);
    712712
     713    // Reset display mode to force a recalculation of what to show because we are resetting the player.
     714    setDisplayMode(Unknown);
     715
    713716    if (!autoplay())
    714717        m_player->setPreload(m_preload);
Note: See TracChangeset for help on using the changeset viewer.