<?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>243776</bug_id>
          
          <creation_ts>2022-08-10 03:38:45 -0700</creation_ts>
          <short_desc>[GStreamer][MediaStream] Additional fixes for disabled video track handling</short_desc>
          <delta_ts>2022-08-24 10:23:42 -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>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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>
          
          <blocked>235885</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">philn</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          <cc>lmoura</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1890245</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2022-08-10 03:38:45 -0700</bug_when>
    <thetext>It&apos;s a bit racy currently and not handling rtp-payloaded video caps.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890247</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-08-10 03:45:02 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3186</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891663</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-08-16 08:00:45 -0700</bug_when>
    <thetext>Committed 253467@main (853b286ebdf4): &lt;https://commits.webkit.org/253467@main&gt;

Reviewed commits have been landed. Closing PR #3186 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891664</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-16 08:01:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/98723475&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893503</commentid>
    <comment_count>4</comment_count>
    <who name="Lauro Moura">lmoura</who>
    <bug_when>2022-08-24 10:23:42 -0700</bug_when>
    <thetext>http/wpt/mediarecorder/mute-tracks.html is flaky crashing in both GTK/WPE after this:

Thread 1 (Thread 0x7f13577fe640 (LWP 346)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
#1  0x00007f15b126c857 in __GI_abort () at abort.c:79
#2  0x00007f15b1a30b3c in g_assertion_message (domain=&lt;optimized out&gt;, file=&lt;optimized out&gt;, line=&lt;optimized out&gt;, func=&lt;optimized out&gt;, message=&lt;optimized out&gt;) at ../glib/gtestutils.c:3223
#3  0x00007f15b1a914ff in g_assertion_message_expr (domain=domain@entry=0x0, file=file@entry=0x7f1530512430 &quot;../gst/videorate/gstvideorate.c&quot;, line=line@entry=715, func=func@entry=0x7f1530513010 &lt;__func__.6&gt; &quot;gst_video_rate_push_buffer&quot;, expr=expr@entry=0x7f1530512770 &quot;GST_
BUFFER_DURATION (outbuf) != 0&quot;) at ../glib/gtestutils.c:3249
#4  0x00007f153050cd16 in gst_video_rate_push_buffer (videorate=0x5565ae44bc80 [GstVideoRate|videorate1], outbuf=0x5565ae42c000 [GstBuffer], duplicate=&lt;optimized out&gt;, next_intime=&lt;optimized out&gt;, invalid_duration=&lt;optimized out&gt;) at ../gst/videorate/gstvideorate.c:715
#5  0x00007f153050e5cf in gst_video_rate_transform_ip (trans=&lt;optimized out&gt;, buffer=0x7f13a0047d80 [GstBuffer]) at ../gst/videorate/gstvideorate.c:1718
#6  0x00007f15aea08fbf in default_generate_output (trans=0x5565ae44bc80 [GstVideoRate|videorate1], outbuf=0x7f13577fd1d0) at ../libs/gst/base/gstbasetransform.c:2187
#7  0x00007f15aea0888c in gst_base_transform_chain (pad=&lt;optimized out&gt;, parent=0x5565ae44bc80 [GstVideoRate|videorate1], buffer=&lt;optimized out&gt;) at ../libs/gst/base/gstbasetransform.c:2345
#8  0x00007f15b184cd6d in gst_pad_chain_data_unchecked (pad=pad@entry=0x5565ae44f1c0 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7f13a0047d80) at ../gst/gstpad.c:4447
#9  0x00007f15b184eff9 in gst_pad_push_data (pad=pad@entry=0x5565ae44ef70 [GstPad|src], type=type@entry=4112, data=data@entry=0x7f13a0047d80) at ../gst/gstpad.c:4711
#10 0x00007f15b18566f2 in gst_pad_push (pad=0x5565ae44ef70 [GstPad|src], buffer=0x7f13a0047d80 [GstBuffer]) at ../gst/gstpad.c:4830
#11 0x00007f15aea08964 in gst_base_transform_chain (pad=&lt;optimized out&gt;, parent=0x5565ae44b7d0 [GstVideoConvert|videoconvert5], buffer=&lt;optimized out&gt;) at ../libs/gst/base/gstbasetransform.c:2381
#12 0x00007f15b184cd6d in gst_pad_chain_data_unchecked (pad=pad@entry=0x5565ae44ed20 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7f13a0047d80) at ../gst/gstpad.c:4447
#13 0x00007f15b184eff9 in gst_pad_push_data (pad=pad@entry=0x5565ae44ead0 [GstPad|src], type=type@entry=4112, data=data@entry=0x7f13a0047d80) at ../gst/gstpad.c:4711
#14 0x00007f15b18566f2 in gst_pad_push (pad=0x5565ae44ead0 [GstPad|src], buffer=0x7f13a0047d80 [GstBuffer]) at ../gst/gstpad.c:4830
#15 0x00007f15aea08964 in gst_base_transform_chain (pad=&lt;optimized out&gt;, parent=0x5565ae446bb0 [GstVideoScale|videoscale1], buffer=&lt;optimized out&gt;) at ../libs/gst/base/gstbasetransform.c:2381
#16 0x00007f15b184cd6d in gst_pad_chain_data_unchecked (pad=pad@entry=0x5565ae44e880 [GstPad|sink], type=type@entry=4112, data=data@entry=0x7f13a0047d80) at ../gst/gstpad.c:4447
#17 0x00007f15b184eff9 in gst_pad_push_data (pad=pad@entry=0x5565ae44e630 [GstPad|src], type=type@entry=4112, data=data@entry=0x7f13a0047d80) at ../gst/gstpad.c:4711
#18 0x00007f15b18566f2 in gst_pad_push (pad=0x5565ae44e630 [GstPad|src], buffer=0x7f13a0047d80 [GstBuffer]) at ../gst/gstpad.c:4830
#19 0x00007f15aea08964 in gst_base_transform_chain (pad=&lt;optimized out&gt;, parent=0x5565ae4479a0 [GstVideoConvert|videoconvert4], buffer=&lt;optimized out&gt;) at ../libs/gst/base/gstbasetransform.c:2381
#20 0x00007f15b184cd6d in gst_pad_chain_data_unchecked (pad=pad@entry=0x5565ae44e3e0 [GstPad|sink], type=type@entry=4112, data=data@entry=0x5565ae3797e0) at ../gst/gstpad.c:4447
#21 0x00007f15b184eff9 in gst_pad_push_data (pad=pad@entry=0x5565ae44f660 [GstPad|encodingsrc], type=type@entry=4112, data=data@entry=0x5565ae3797e0) at ../gst/gstpad.c:4711
#22 0x00007f15b18566f2 in gst_pad_push (pad=pad@entry=0x5565ae44f660 [GstPad|encodingsrc], buffer=buffer@entry=0x5565ae3797e0 [GstBuffer]) at ../gst/gstpad.c:4830
#23 0x00007f1550058b05 in gst_stream_splitter_chain (pad=&lt;optimized out&gt;, parent=0x5565ae3e0470 [GstStreamSplitter|streamsplitter3], buf=0x5565ae3797e0 [GstBuffer]) at ../gst/encoding/gststreamsplitter.c:141
#24 0x00007f15b184cd6d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7f13682ad630 [GstPad|sink], type=type@entry=4112, data=data@entry=0x5565ae3797e0) at ../gst/gstpad.c:4447
#25 0x00007f15b184eff9 in gst_pad_push_data (pad=pad@entry=0x7f13682adad0 [GstPad|src], type=type@entry=4112, data=data@entry=0x5565ae3797e0) at ../gst/gstpad.c:4711
#26 0x00007f15b18566f2 in gst_pad_push (pad=0x7f13682adad0 [GstPad|src], buffer=buffer@entry=0x5565ae3797e0 [GstBuffer]) at ../gst/gstpad.c:4830
#27 0x00007f153c3fb5cd in gst_queue_push_one (queue=0x7f136c00c690 [GstQueue|queue9]) at ../plugins/elements/gstqueue.c:1388
#28 gst_queue_loop (pad=&lt;optimized out&gt;) at ../plugins/elements/gstqueue.c:1541
#29 0x00007f15b1886e77 in gst_task_func (task=0x7f137803f3b0 [GstTask|queue9:src]) at ../gst/gsttask.c:384
#30 0x00007f15b1a92d44 in g_thread_pool_thread_proxy (data=&lt;optimized out&gt;) at ../glib/gthreadpool.c:354
#31 0x00007f15b1a923f1 in g_thread_proxy (data=0x7f136821d980) at ../glib/gthread.c:827
#32 0x00007f15af0543ba in start_thread (arg=0x7f13577fe640) at pthread_create.c:481
#33 0x00007f15b134d7a3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95


&lt;snip&gt;
STDERR: ERROR:../gst/videorate/gstvideorate.c:715:gst_video_rate_push_buffer: assertion failed: (GST_BUFFER_DURATION (outbuf) != 0)
STDERR: WPEWebProcess terminated (pid 93) for reason: crash</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>