<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 - [EME][GStreamer] Move the decryptor from AppendPipeline to PlaybackPipeline."
   href="https://bugs.webkit.org/show_bug.cgi?id=181855#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - [EME][GStreamer] Move the decryptor from AppendPipeline to PlaybackPipeline."
   href="https://bugs.webkit.org/show_bug.cgi?id=181855">bug 181855</a>
              from <span class="vcard"><a class="email" href="mailto:calvaris@igalia.com" title="Xabier Rodríguez Calvar <calvaris@igalia.com>"> <span class="fn">Xabier Rodríguez Calvar</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=338892&action=diff" name="attach_338892" title="Patch">attachment 338892</a> <a href="attachment.cgi?id=338892&action=edit" title="Patch">[details]</a></span>
Patch

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

<span class="quote">> Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp:958
> +        gst_element_send_event(m_playbackPipeline->pipeline(), gst_event_new_custom(GST_EVENT_CUSTOM_DOWNSTREAM_OOB, gst_structure_copy(structure.get())));</span >

You don't need to copy the structure since we are given a rvalue reference. Just .release() instead of .get() and avoid the gst_structure_copy.</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>