<?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>286530</bug_id>
          
          <creation_ts>2025-01-25 02:57:40 -0800</creation_ts>
          <short_desc>[GStreamer] imported/w3c/web-platform-tests/webcodecs/audioDecoder-codec-specific.https.any.html?pcm* are permanent failures.</short_desc>
          <delta_ts>2025-01-27 05:04:12 -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>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>286526</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">philn</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          <cc>jean-yves.avenard</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2089738</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2025-01-25 02:57:40 -0800</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #286526 +++
          
          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
 ```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089739</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2025-01-25 03:00:14 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/39551</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089937</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-01-27 05:03:56 -0800</bug_when>
    <thetext>Committed 289421@main (a4be55f451ad): &lt;https://commits.webkit.org/289421@main&gt;

Reviewed commits have been landed. Closing PR #39551 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2089938</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-01-27 05:04:12 -0800</bug_when>
    <thetext>&lt;rdar://problem/143688542&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>