<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GStreamer][OWR] Video rendering fixes"
   href="https://bugs.webkit.org/show_bug.cgi?id=160764#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GStreamer][OWR] Video rendering fixes"
   href="https://bugs.webkit.org/show_bug.cgi?id=160764">bug 160764</a>
              from <span class="vcard"><a class="email" href="mailto:calvaris&#64;igalia.com" title="Xabier Rodríguez Calvar &lt;calvaris&#64;igalia.com&gt;"> <span class="fn">Xabier Rodríguez Calvar</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=285821&amp;action=diff" name="attach_285821" title="patch">attachment 285821</a> <a href="attachment.cgi?id=285821&amp;action=edit" title="patch">[details]</a></span>
patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=285821&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=285821&amp;action=review</a>

<span class="quote">&gt; Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerOwr.cpp:346
&gt; +    m_videoSink = sink;
&gt; +#else
&gt; +    GstElement* sink = gst_bin_new(nullptr);
&gt; +    GstElement* gldownload = gst_element_factory_make(&quot;gldownload&quot;, nullptr);
&gt; +    GstElement* videoconvert = gst_element_factory_make(&quot;videoconvert&quot;, nullptr);
&gt; +    GstElement* webkitSink = MediaPlayerPrivateGStreamerBase::createVideoSink();
&gt; +    gst_bin_add_many(GST_BIN(sink), gldownload, videoconvert, webkitSink, nullptr);
&gt; +    gst_element_link_many(gldownload, videoconvert, webkitSink, nullptr);
&gt; +    GRefPtr&lt;GstPad&gt; pad = gst_element_get_static_pad(gldownload, &quot;sink&quot;);
&gt; +    gst_element_add_pad(sink, gst_ghost_pad_new(&quot;sink&quot;, pad.get()));</span >

Why are we keeping the m_videoSink for the if and not for the else?</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>