<?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>243781</bug_id>
          
          <creation_ts>2022-08-10 05:11:19 -0700</creation_ts>
          <short_desc>[GStreamer] REGRESSION(253289@main): Broke debug builds</short_desc>
          <delta_ts>2022-08-10 08:18:16 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=243638</see_also>
          <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="Adrian Perez">aperez</reporter>
          <assigned_to name="Philippe Normand">philn</assigned_to>
          <cc>philn</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1890262</commentid>
    <comment_count>0</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2022-08-10 05:11:19 -0700</bug_when>
    <thetext>/app/webkit/WebKitBuild/Debug/WTF/Headers/wtf/Ref.h:119:52: error: invalid argument type &apos;WebCore::VideoFrameGStreamer&apos; to unary expression
    bool operator!() const { ASSERT(m_ptr); return !*m_ptr; }
                                                   ^~~~~~~
/app/webkit/Source/WebCore/platform/mediastream/RealtimeVideoSource.cpp:195:5: note: in instantiation of member function &apos;WTF::Ref&lt;WebCore::VideoFrameGStreamer&gt;::operator!&apos; requested here
    ASSERT(newVideoFrame);
    ^</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890263</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2022-08-10 05:12:38 -0700</bug_when>
    <thetext>I suppose the assertion should be moved into PLATFORM(COCOA). Another option
would be to explicitly declare the variable as RefPtr&lt;VideFrameGStreamer&gt; instead of using “auto” to avoid the compiler deducing it can use Ref&lt;T&gt;.
I am not sure what option is preferred in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890265</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2022-08-10 05:41:34 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3190</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890271</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-08-10 06:16:48 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3192</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890293</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-08-10 08:17:52 -0700</bug_when>
    <thetext>Committed 253296@main (ec1e02abd6f9): &lt;https://commits.webkit.org/253296@main&gt;

Reviewed commits have been landed. Closing PR #3192 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890294</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-10 08:18:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/98451754&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>