<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>60635</bug_id>
          
          <creation_ts>2011-05-11 09:42:11 -0700</creation_ts>
          <short_desc>Video track sometimes fails to draw</short_desc>
          <delta_ts>2011-06-03 14:10:26 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, PlatformOnly</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Carlson">eric.carlson</reporter>
          <assigned_to name="Eric Carlson">eric.carlson</assigned_to>
          <cc>ademar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>402050</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2011-05-11 09:42:11 -0700</bug_when>
    <thetext>If HTMLMediaElement replaces the MediaPlayer after its display state has been set to &quot;video&quot;, the new media engine has no way to know that it is allowed to display video.

If the display state is reset whenever MediaPlayer is replaced,  the media engine will get the correct state when it is recalculated.

&lt;rdar://problem/9281951&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402068</commentid>
    <comment_count>1</comment_count>
      <attachid>93140</attachid>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2011-05-11 10:07:42 -0700</bug_when>
    <thetext>Created attachment 93140
Proposed patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402094</commentid>
    <comment_count>2</comment_count>
      <attachid>93140</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2011-05-11 10:33:19 -0700</bug_when>
    <thetext>Comment on attachment 93140
Proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=93140&amp;action=review

&gt; Source/WebCore/html/HTMLMediaElement.cpp:713
&gt; +    // Reset display mode to force a recalculation of what to show becuase we are resetting the player.

This misspells because.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>402102</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2011-05-11 10:43:13 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/86245</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>415186</commentid>
    <comment_count>4</comment_count>
    <who name="Ademar Reis">ademar</who>
    <bug_when>2011-06-03 14:10:26 -0700</bug_when>
    <thetext>Revision r86245 cherry-picked into qtwebkit-2.2 with commit 3f5fab4 &lt;http://gitorious.org/webkit/qtwebkit/commit/3f5fab4&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>93140</attachid>
            <date>2011-05-11 10:07:42 -0700</date>
            <delta_ts>2011-05-11 10:33:18 -0700</delta_ts>
            <desc>Proposed patch.</desc>
            <filename>patch_display_mode.txt</filename>
            <type>text/plain</type>
            <size>1503</size>
            <attacher name="Eric Carlson">eric.carlson</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDg2MjQwKQorKysgU291cmNlL1dlYkNvcmUvQ2hhbmdl
TG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jIyOCkKKysrIFNvdXJjZS9XZWJDb3JlL2h0bWwvSFRNTE1l
ZGlhRWxlbWVudC5jcHAJKHdvcmtpbmcgY29weSkKQEAgLTcxMCw2ICs3MTAsOSBAQCB2b2lkIEhU
TUxNZWRpYUVsZW1lbnQ6OmxvYWRSZXNvdXJjZShjb25zCiAgICAgYm9vbCBwcml2YXRlTW9kZSA9
ICFzZXR0aW5ncyB8fCBzZXR0aW5ncy0+cHJpdmF0ZUJyb3dzaW5nRW5hYmxlZCgpOwogICAgIG1f
cGxheWVyLT5zZXRQcml2YXRlQnJvd3NpbmdNb2RlKHByaXZhdGVNb2RlKTsKIAorICAgIC8vIFJl
c2V0IGRpc3BsYXkgbW9kZSB0byBmb3JjZSBhIHJlY2FsY3VsYXRpb24gb2Ygd2hhdCB0byBzaG93
IGJlY3Vhc2Ugd2UgYXJlIHJlc2V0dGluZyB0aGUgcGxheWVyLgorICAgIHNldERpc3BsYXlNb2Rl
KFVua25vd24pOworCiAgICAgaWYgKCFhdXRvcGxheSgpKQogICAgICAgICBtX3BsYXllci0+c2V0
UHJlbG9hZChtX3ByZWxvYWQpOwogICAgIG1fcGxheWVyLT5zZXRQcmVzZXJ2ZXNQaXRjaChtX3dl
YmtpdFByZXNlcnZlc1BpdGNoKTsK
</data>
<flag name="review"
          id="86244"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>