<?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>293239</bug_id>
          
          <creation_ts>2025-05-19 10:46:23 -0700</creation_ts>
          <short_desc>[GStreamer][MSE] Support playing videos of less than 1 sec with libav decoders</short_desc>
          <delta_ts>2025-05-19 11:12:19 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>270622</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Enrique Ocaña">eocanha</reporter>
          <assigned_to name="Enrique Ocaña">eocanha</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2118157</commentid>
    <comment_count>0</comment_count>
    <who name="Enrique Ocaña">eocanha</who>
    <bug_when>2025-05-19 10:46:23 -0700</bug_when>
    <thetext>GStreamer video decoders based on libav are currently implemented in a way that hoard one video frame per decoding thread. This not only means more latency during continuous playback, but also on stalls (when no more frames are supplied at the video decoder input). While problem has been mitigated by reducing the max-threads to 2 [1], the behaviour still causes problems in some tests with very short videos.

[1] https://github.com/WebKit/WebKit/commit/128e962baa61f49c78087a622eaecd08dc692ef6#diff-4376b854280205494dc9de0f08f985afd4d6584a7487c0a136adac2954c003cdR2831</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2118159</commentid>
    <comment_count>1</comment_count>
    <who name="Enrique Ocaña">eocanha</who>
    <bug_when>2025-05-19 11:10:18 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/45600</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>