<?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>277327</bug_id>
          
          <creation_ts>2024-07-29 22:25:10 -0700</creation_ts>
          <short_desc>[GStreamer] Video player not following preload=metadata attribute</short_desc>
          <delta_ts>2025-05-21 12:36:09 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=276717</see_also>
          <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>236884</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>clopez</cc>
    
    <cc>philn</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2049376</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2024-07-29 22:25:10 -0700</bug_when>
    <thetext>Seen in https://bugs.webkit.org/show_bug.cgi?id=276717

media/media-vp8-webm-with-preload.html is failing with the readyState moving to HAVE_CURRENT_DATA even with a poster set and preload set to &quot;metadata&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049377</commentid>
    <comment_count>1</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2024-07-29 22:25:56 -0700</bug_when>
    <thetext>--- /home/ews/worker/GTK-WK2-Tests-EWS/build/layout-test-results/media/media-vp8-webm-withpreload-expected.txt
+++ /home/ews/worker/GTK-WK2-Tests-EWS/build/layout-test-results/media/media-vp8-webm-withpreload-actual.txt
@@ -1,7 +1,14 @@
+FAIL: Timed out waiting for notifyDone to be called
 
-EXPECTED (video.readyState &lt;= &apos;1&apos;) OK
-EXPECTED (video.readyState == &apos;1&apos;) OK
-RUN(video.play())
-EVENT(playing)
-RUN(video.currentTime = video.duration - 0.02)
 
+EXPECTED (video.readyState &lt;= &apos;1&apos;), OBSERVED &apos;3&apos; FAIL
+Summary
+
+Harness status: Timeout
+
+Found 0 tests
+
+Details
+
+Result	Test Name	Message
+</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049445</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-07-30 06:38:53 -0700</bug_when>
    <thetext>Right, I think this is not specific to WebM.
We don&apos;t have special case for preload=metadata, we switch the pipeline to paused state...

I think that whenever we switch to playbin3 we should be able to nicely address this issue, by reacting on the stream-collection message.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2049447</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-07-30 06:40:13 -0700</bug_when>
    <thetext>*** Bug 127743 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>