<?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>38461</bug_id>
          
          <creation_ts>2010-05-03 07:19:56 -0700</creation_ts>
          <short_desc>[GStreamer] forgotten call to durationChanged in updateStates()</short_desc>
          <delta_ts>2010-05-13 02:49:54 -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>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>38475</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">pnormand</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>eric</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>220091</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2010-05-03 07:19:56 -0700</bug_when>
    <thetext>when pipeline rolls to PLAYING we do a duration query and if it succeeds we don&apos;t call durationChanged() to notify the MediaPlayer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220100</commentid>
    <comment_count>1</comment_count>
      <attachid>54926</attachid>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2010-05-03 07:42:32 -0700</bug_when>
    <thetext>Created attachment 54926
proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220186</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2010-05-03 11:02:23 -0700</bug_when>
    <thetext>Landed in r58685</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220200</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-05-03 11:17:47 -0700</bug_when>
    <thetext>This failed to update the Gtk results and is causing failures on the bots.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220202</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2010-05-03 11:19:35 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/58685 might have broken GTK Linux 32-bit Release</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220222</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-05-03 11:50:31 -0700</bug_when>
    <thetext>Reverted r58685 for reason:

Broke a test on Gtk

Committed r58690: &lt;http://trac.webkit.org/changeset/58690&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220225</commentid>
    <comment_count>6</comment_count>
      <attachid>54926</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-05-03 11:52:22 -0700</bug_when>
    <thetext>Comment on attachment 54926
proposed patch

r- as this was rolled out.

I suspect it just needed a Gtk test update.  However Phillipe seemed unsure, so I went ahead and rolled it out to re-green the tree while he and Eric decide the proper course of action.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>225217</commentid>
    <comment_count>7</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2010-05-13 02:49:54 -0700</bug_when>
    <thetext>This patch was wrong indeed. durationchanged was emitted but the duration() result didn&apos;t actually change. The if changed by the patch is meant to cache the duration in a private member. BTW I noticed we could do that step when the player enters to PAUSED, it would spare some uneeded queries between PAUSED-&gt;PLAYING. Will open a new bug for this :)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>54926</attachid>
            <date>2010-05-03 07:42:32 -0700</date>
            <delta_ts>2010-05-03 11:52:22 -0700</delta_ts>
            <desc>proposed patch</desc>
            <filename>proposed-patch.patch</filename>
            <type>text/plain</type>
            <size>1862</size>
            <attacher name="Philippe Normand">pnormand</attacher>
            
              <data encoding="base64">RnJvbSAxNWFiYjNiODU2MDk3OGE1OTlhMjQ1MjU5NThhZTdmYTBjNTUwZDEwIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBQaGlsaXBwZSBOb3JtYW5kIDxwbm9ybWFuZEBpZ2FsaWEuY29t
PgpEYXRlOiBNb24sIDMgTWF5IDIwMTAgMTY6NDA6NDYgKzAyMDAKU3ViamVjdDogW1BBVENIXSBw
cm9wb3NlZCBwYXRjaAoKLS0tCiBXZWJDb3JlL0NoYW5nZUxvZyAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICB8ICAgMTIgKysrKysrKysrKysrCiAuLi4vZ3N0cmVhbWVyL01lZGlhUGxh
eWVyUHJpdmF0ZUdTdHJlYW1lci5jcHAgICAgICB8ICAgIDQgKysrLQogMiBmaWxlcyBjaGFuZ2Vk
LCAxNSBpbnNlcnRpb25zKCspLCAxIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL1dlYkNvcmUv
Q2hhbmdlTG9nIGIvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggYTE3MmY2ZS4uYjRkMWZiMSAxMDA2
NDQKLS0tIGEvV2ViQ29yZS9DaGFuZ2VMb2cKKysrIGIvV2ViQ29yZS9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxNSBAQAorMjAxMC0wNS0wMyAgUGhpbGlwcGUgTm9ybWFuZCAgPHBub3JtYW5kQGlnYWxp
YS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgT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ODcsMTAgQEAgdm9pZCBNZWRpYVBsYXllclBy
aXZhdGVHU3RyZWFtZXI6OnVwZGF0ZVN0YXRlcygpCiAgICAgICAgICAgICBpZiAoIW1fbWVkaWFE
dXJhdGlvbikgewogICAgICAgICAgICAgICAgIGZsb2F0IG5ld0R1cmF0aW9uID0gZHVyYXRpb24o
KTsKICAgICAgICAgICAgICAgICBtX21lZGlhRHVyYXRpb25Lbm93biA9ICFpc2luZihuZXdEdXJh
dGlvbik7Ci0gICAgICAgICAgICAgICAgaWYgKG1fbWVkaWFEdXJhdGlvbktub3duKQorICAgICAg
ICAgICAgICAgIGlmIChtX21lZGlhRHVyYXRpb25Lbm93bikgewogICAgICAgICAgICAgICAgICAg
ICBtX21lZGlhRHVyYXRpb24gPSBuZXdEdXJhdGlvbjsKKyAgICAgICAgICAgICAgICAgICAgZHVy
YXRpb25DaGFuZ2VkKCk7CisgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgfQogCiAgICAg
ICAgICAgICBpZiAobV9idWZmZXJpbmcpIHsKLS0gCjEuNi4zLjM=
</data>
<flag name="review"
          id="39003"
          type_id="1"
          status="-"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>