Bug 281489
Summary: | [GStreamer] http/wpt/mediarecorder/MediaRecorder-first-frame.html is flaky | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Component: | Media | Assignee: | Philippe Normand <philn> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=281406 |
Jean-Yves Avenard [:jya]
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't drop first frame assert_true: pixel is approximately red expected true got false
-PASS Verify WebM MediaRecorder doesn't drop first frame
+FAIL Verify MP4 MediaRecorder doesn't drop first frame assert_equals: video has the right width expected 640 but got 0
+FAIL Verify WebM MediaRecorder doesn'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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Philippe Normand
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's just a workaround though.
Philippe Normand
*** This bug has been marked as a duplicate of bug 281295 ***
Philippe Normand
It's flaky now.
Philippe Normand
(In reply to Philippe Normand from comment #3)
> It's flaky now.
No longer flaky after fixing bug 282911.