<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [GStreamer][OWR] GL rendering support"
   href="https://bugs.webkit.org/show_bug.cgi?id=162972#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [GStreamer][OWR] GL rendering support"
   href="https://bugs.webkit.org/show_bug.cgi?id=162972">bug 162972</a>
              from <span class="vcard"><a class="email" href="mailto:zan&#64;falconsigh.net" title="Zan Dobersek &lt;zan&#64;falconsigh.net&gt;"> <span class="fn">Zan Dobersek</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=162972#c3">comment #3</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=290711&amp;action=diff" name="attach_290711" title="[OpenWebRTC][GStreamerGL] Fix video rendering">attachment 290711</a> <a href="attachment.cgi?id=290711&amp;action=edit" title="[OpenWebRTC][GStreamerGL] Fix video rendering">[details]</a></span>
&gt; [OpenWebRTC][GStreamerGL] Fix video rendering
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=290711&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=290711&amp;action=review</a>
&gt; 
&gt; &gt;&gt; Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp:361
&gt; &gt;&gt; +    owr_video_renderer_set_request_context_callback(OWR_VIDEO_RENDERER(m_videoRenderer.get()), (OwrVideoRendererRequestContextCallback) MediaPlayerPrivateGStreamerBase::requestGLContext, this, nullptr);
&gt; &gt; 
&gt; &gt; This should use a static_cast&lt;&gt;.
&gt; 
&gt; Doesn't build:
&gt; 
&gt; MediaPlayerPrivateGStreamerOwr.cpp:361:196: error: invalid static_cast from
&gt; type ‘GstContext*(const gchar*, WebCore::MediaPlayerPrivateGStreamerBase*)
&gt; {aka _GstContext*(const char*, WebCore::MediaPlayerPrivateGStreamerBase*)}’
&gt; to type ‘OwrVideoRendererRequestContextCallback {aka _GstContext* (*)(const
&gt; char*, void*)}’
&gt;     
&gt; owr_video_renderer_set_request_context_callback(OWR_VIDEO_RENDERER(m_videoRen
&gt; derer.get()),
&gt; static_cast&lt;OwrVideoRendererRequestContextCallback&gt;(MediaPlayerPrivateGStream
&gt; erBase::requestGLContext), this, nullptr);</span >

:shrugemoji:</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>