[Webkit-unassigned] [Bug 271631] New: [GStreamer] media/media-source/media-managedmse-stall-endofstream.html is a permanent failure

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 25 08:12:03 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=271631

            Bug ID: 271631
           Summary: [GStreamer]
                    media/media-source/media-managedmse-stall-endofstream.
                    html is a permanent failure
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jean-yves.avenard at apple.com

Test added in bug 270618 is a permanent failure:

```
--- /home/ews/worker/GTK-WK2-Tests-EWS/build/layout-test-results/media/media-source/media-managedmse-stall-endofstream-expected.txt
+++ /home/ews/worker/GTK-WK2-Tests-EWS/build/layout-test-results/media/media-source/media-managedmse-stall-endofstream-actual.txt
@@ -14,9 +14,9 @@
 RUN(sourceBuffer.appendBuffer(loader.mediaSegment(1)))
 EVENT(update)
 EXPECTED (video.buffered.length == '1') OK
-EXPECTED (video.buffered.end(0) == '2') OK
+EXPECTED (video.buffered.end(0) == '2'), OBSERVED '2.015373' FAIL
 EVENT(waiting)
-EXPECTED (video.currentTime == video.buffered.end(0) == 'true') OK
+EXPECTED (video.currentTime == video.buffered.end(0) == 'true'), OBSERVED 'false' FAIL
 RUN(source.endOfStream())
 EVENT(sourceended)
 EVENT(ended)
```

the test consist of appending to a source buffer a mp4 with two tracks.
The audio track finishes exactly at 2.015374
and the video track finishes exactly at 2s (last video sample in segment starts at 1.958333 and is 0.041667s long.

Per spec, the buffered range should be the intersection of the video and audio range, and so finish exactly at 0.

GStreamer somehow returns the video frame time as if it was the audio sample end time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240325/f490d20f/attachment-0001.htm>


More information about the webkit-unassigned mailing list