<div dir="auto">It works for me but it seems there is no way to add properties to glimagesink. I didn't get GstVideoOverlay reference here. Could you please explain if possible?<div dir="auto"><br></div><div dir="auto">While I was able to add the properties with similar kind video sink. I.e. waylandsink, eglvivsink.</div><div dir="auto"><br></div><div dir="auto">Regards & Thanks,</div><div dir="auto">Vikash<br><div dir="auto"><br><div class="gmail_extra"><br><div class="gmail_quote">On Apr 5, 2017 5:35 AM, "Matthew Waters" <<a href="mailto:ystreet00@gmail.com">ystreet00@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <p>Right, so if the current GstGLDisplay/GstGLWindow implementations
      for wayland don't work for your platform, you will need to create
      your own based on what you have available in the IVI space. 
      Adding a property for something that's exposed through other means
      (like GstVideoOverlay) is *not* the correct way to go about this.<br>
      <br>
      Cheers<br>
      -Matt<br>
    </p><div class="elided-text">
    <br>
    <div class="m_-7159417812542470056moz-cite-prefix">On 03/04/17 15:38, Vikas Patil wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <p class="m_-7159417812542470056gmail-MsoPlainText">Hi Nicolas</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">In in-vehicle infotainment, we use
          weston (wayland compositor) with ivi-controller
          (wayland-ivi-extension, layermanager) instead of desktop shell
          for handling and controlling widow surfaces from various
          application. <br>
        </p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Now for video playback with weston
          on i.mx6 soc I found glimagesink is the way to use, but as we
          are not using the desktop-shell there is no way to show video
          surfaces on display without wrapping weston surface to ILM
          (IVI Layermanager) using the ivi-application protocol. So in
          the use case where we need to create two video pipeline with
          different surface id for ILM I wanted to have this property in
          glimagesink with wayland so it can be passed to
          ivi-application.</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">See <a href="https://at.projects.genivi.org/wiki/display/PROJ/Wayland+IVI+Extension+Design" target="_blank">https://at.projects.genivi.<wbr>org/wiki/display/PROJ/Wayland+<wbr>IVI+Extension+Design</a>
          for more details on ivi-application protocol and IVI ILM.</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Thanks & Regards,</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Vikash<br>
        </p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">From: Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>></p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">To: Discussion of the development
          of and with GStreamer</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText"><span>                </span><<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<wbr>freedesktop.org</a>>,
          Matthew Waters</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText"><span>                </span><<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>></p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Subject: Re: [glimagesink] Adding
          new property to
          glimagesink and</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText"><span>                </span>access
          it in wayland platform</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Message-ID: <<a href="mailto:1490971253.3749.1.camel@ndufresne.ca" target="_blank">1490971253.3749.1.camel@<wbr>ndufresne.ca</a>></p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Content-Type: text/plain;
          charset="utf-8"</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText"> </p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Le vendredi 31 mars 2017 à 07:13
          +0530, Vikas Patil a écrit :</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">> This surface-id is for
          wayland-ivi-extension
          (in-vehicle infotainment</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">> layer manager) support in
          glimagesink. I find
          GstGlWindow is not</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">> proper element and it seems
          it is internally invoked
          by glimagesink.</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">> I am working with Wayland
          platform.</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText"> </p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Would it be possible to provide
          some rational to these,
          slightly empty,</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">statements. All display sink in
          GStreamer will display to
          a "Window"</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">which is just a holder for a
          native handle specific to
          the display</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">system in place. On X11 this is an
          XID, on Wayland this
          is a surface</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">handle, etc. I also don't see you
          point about glimagesink
          using a</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">GstGLWindow abstraction to
          display. Why should that
          mechanism be forked</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">for cars make no sense to me.</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText"> </p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">regards,</p>
        <p class="m_-7159417812542470056gmail-MsoPlainText">Nicolas</p>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Fri, Mar 31, 2017 at 7:13 AM, Vikas
          Patil <span dir="ltr"><<a href="mailto:vikasmpatil@gmail.com" target="_blank">vikasmpatil@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="auto">Hi Matthew,
              <div dir="auto"><br>
              </div>
              <div dir="auto">This surface-id is for
                wayland-ivi-extension (in-vehicle infotainment layer
                manager) support in glimagesink. I find GstGlWindow is
                not proper element and it seems it is internally invoked
                by glimagesink. I am working with Wayland platform.</div>
              <div dir="auto"><br>
              </div>
              <div dir="auto">Thanks & Regards,</div>
              <div dir="auto">Vikash</div>
            </div>
            <div class="m_-7159417812542470056HOEnZb">
              <div class="m_-7159417812542470056h5">
                <div class="gmail_extra"><br>
                  <div class="gmail_quote">On Mar 31, 2017 4:02 AM,
                    "Matthew Waters" <<a href="mailto:ystreet00@gmail.com" target="_blank">ystreet00@gmail.com</a>>
                    wrote:<br type="attribution">
                    <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is
                      this surface-id something what would be better
                      suited for the<br>
                      GstVideoOverlay interface that glimagesink and
                      glwindow_wayland already<br>
                      implement?<br>
                      <br>
                      Cheers<br>
                      -Matt<br>
                      <br>
                      <br>
                      On 30/03/17 16:42, Vikas Patil wrote:<br>
                      > Hi All,<br>
                      ><br>
                      > I would like to add new plug-in property
                      (i.e. surface-id ) to<br>
                      > glimagesink [1]. I have added required code
                      to [1] as after looking at<br>
                      > other properties. However I need this
                      property value<br>
                      > to libgstsl.so [2].<br>
                      ><br>
                      > Could anyone guide me how to get new property
                      value from [1]<br>
                      > libgstopengl.so to [2] libgstgl.so?<br>
                      ><br>
                      ><br>
                      > [1]<br>
                      > <a href="https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/gl/gstglimagesink.c?id=1.6.0" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/g<wbr>streamer/gst-plugins-bad/tree/<wbr>ext/gl/gstglimagesink.c?id=1.6<wbr>.0</a><br>
                      > [2]<br>
                      > <a href="https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/gst-libs/gst/gl/wayland/gstglwindow_wayland_egl.c?id=1.6.0" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/g<wbr>streamer/gst-plugins-bad/tree/<wbr>gst-libs/gst/gl/wayland/gstglw<wbr>indow_wayland_egl.c?id=1.6.0</a><br>
                      ><br>
                      > Thanking you.<br>
                      ><br>
                      > Thanks & regards,<br>
                      > Vikash<br>
                      <br>
                      <br>
                    </blockquote>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div>

</blockquote></div><br></div></div></div></div>