<?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>281489</bug_id>
          
          <creation_ts>2024-10-15 05:04:52 -0700</creation_ts>
          <short_desc>[GStreamer] http/wpt/mediarecorder/MediaRecorder-first-frame.html is flaky</short_desc>
          <delta_ts>2024-11-14 04:20:49 -0800</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>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=281406</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jean-Yves Avenard [:jya]">jean-yves.avenard</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2068023</commentid>
    <comment_count>0</comment_count>
    <who name="Jean-Yves Avenard [:jya]">jean-yves.avenard</who>
    <bug_when>2024-10-15 05:04:52 -0700</bug_when>
    <thetext>Test added in bug 281406


```
--- /home/ews/worker/WPE-WK2-Tests-EWS/build/layout-test-results/http/wpt/mediarecorder/MediaRecorder-first-frame-expected.txt
+++ /home/ews/worker/WPE-WK2-Tests-EWS/build/layout-test-results/http/wpt/mediarecorder/MediaRecorder-first-frame-actual.txt
@@ -1,5 +1,5 @@
 
 
-FAIL Verify MP4 MediaRecorder doesn&apos;t drop first frame assert_true: pixel is approximately red expected true got false
-PASS Verify WebM MediaRecorder doesn&apos;t drop first frame
+FAIL Verify MP4 MediaRecorder doesn&apos;t drop first frame assert_equals: video has the right width expected 640 but got 0
+FAIL Verify WebM MediaRecorder doesn&apos;t drop first frame assert_equals: video has the right width expected 640 but got 0
```

video element fires `loadmedmetadata` event, yet the dimensions are 0x0 ; that goes against the spec as the loadedmetadata even is to be fired when we have determined the duration and the dimensions of the video.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070071</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-10-23 06:52:14 -0700</bug_when>
    <thetext>This is happening because the recorder stops after only 500ms, if I make it stop after one second the test passes (the MP4 one at least). It&apos;s just a workaround though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2071869</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-10-31 07:42:03 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 281295 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2072084</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-11-01 05:34:23 -0700</bug_when>
    <thetext>It&apos;s flaky now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2075029</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2024-11-14 04:20:49 -0800</bug_when>
    <thetext>(In reply to Philippe Normand from comment #3)
&gt; It&apos;s flaky now.

No longer flaky after fixing bug 282911.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>