<?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>257707</bug_id>
          
          <creation_ts>2023-06-05 03:46:16 -0700</creation_ts>
          <short_desc>[GStreamer][Pipewire] Screen capture broken</short_desc>
          <delta_ts>2023-06-14 03:19:17 -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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philippe Normand">philn</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1959844</commentid>
    <comment_count>0</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2023-06-05 03:46:16 -0700</bug_when>
    <thetext>https://webrtc.github.io/samples/src/content/getusermedia/getdisplaymedia/

(WebKitWebProcess:268582): GStreamer-CRITICAL **: 11:41:58.467: gst_buffer_peek_memory: assertion &apos;idx &lt; GST_BUFFER_MEM_LEN (buffer)&apos; failed

(gdb) bt                                                                                                                                                                                                             
#0  g_logv (log_domain=0x7f91d93219ae &quot;GStreamer&quot;, log_level=G_LOG_LEVEL_CRITICAL, format=&lt;optimized out&gt;, args=args@entry=0x7f90fb7fba50) at ../glib/gmessages.c:1422                                               
#1  0x00007f91da1a3b33 in g_log (log_domain=&lt;optimized out&gt;, log_level=&lt;optimized out&gt;, format=&lt;optimized out&gt;) at ../glib/gmessages.c:1460                                                                          
#2  0x00007f91d927ca6a in gst_buffer_peek_memory (buffer=&lt;optimized out&gt;, idx=&lt;optimized out&gt;) at ../gst/gstbuffer.c:1197                                                                                            
#3  0x00007f91e775ecdc in WebCore::MediaPlayerPrivateGStreamer::pushDMABufToCompositor() (this=0x7f91ca1d1d80)                                                                                                       
    at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:3304                                                                                                         
#4  0x00007f91e7760a09 in WebCore::MediaPlayerPrivateGStreamer::triggerRepaint(WTF::GRefPtr&lt;_GstSample&gt;&amp;&amp;) (this=0x7f91ca1d1d80, sample=...)                                                                         
    at /var/home/phil/WebKit/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:3698
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961298</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2023-06-13 05:27:21 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/14917</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961526</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-06-14 03:19:00 -0700</bug_when>
    <thetext>Committed 265149@main (43b434701478): &lt;https://commits.webkit.org/265149@main&gt;

Reviewed commits have been landed. Closing PR #14917 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961527</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-14 03:19:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/110765005&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>