Bug 286526

Summary: [GStreamer] imported/w3c/web-platform-tests/webcodecs/audioDecoder-codec-specific.https.any.html?opus is a permanent failure.
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Philippe Normand <philn>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=284671
Bug Depends on:    
Bug Blocks: 286530    

Jean-Yves Avenard [:jya]
Reported 2025-01-24 23:44:10 PST
Seen in https://ews-build.s3-us-west-2.amazonaws.com/WPE-WK2-Tests-EWS/4379e0fc-66975/results.html In bug 284671 we modified the tests to actually count if the right amount of frames have been decoded. It appears that for all PCM tests, the GStreamer AudioDecoder only decode half the amount of frames required. ``` --- /home/ews/worker/WPE-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/webcodecs/audioDecoder-codec-specific.https.any_pcm_s16-expected.txt +++ /home/ews/worker/WPE-WK2-Tests-EWS/build/layout-test-results/imported/w3c/web-platform-tests/webcodecs/audioDecoder-codec-specific.https.any_pcm_s16-actual.txt @@ -3,9 +3,9 @@ PASS Test that AudioDecoder.isConfigSupported() returns a parsed configuration PASS Test configure() PASS Verify closed AudioDecoder operations -PASS Test decoding -PASS Test decoding a with negative timestamp -PASS Test decoding after flush +FAIL Test decoding assert_approx_equals: number of decoded frames matches expected 10240 +/- 0 but got 5120 +FAIL Test decoding a with negative timestamp assert_approx_equals: number of decoded frames matches expected 1200 +/- 0 but got 600 +FAIL Test decoding after flush assert_approx_equals: number of decoded frames matches expected 1200 +/- 0 but got 600 PASS Test reset during flush PASS AudioDecoder decodeQueueSize test ```
Attachments
Philippe Normand
Comment 1 2025-01-25 03:02:10 PST
The pcm failures are fixed in bug 286530. This one here is now only about the opus decoder.
Philippe Normand
Comment 2 2025-03-22 07:57:57 PDT
This is passing after the last WPT sync.
Note You need to log in before you can comment on or make changes to this bug.