<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body 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>
<br>
<div class="moz-cite-prefix">On 03/04/17 15:38, Vikas Patil wrote:<br>
</div>
<blockquote
cite="mid:%3CCA+kt3u3+fZLqRSgovhwQduZ7NJoWwche83PNHH3oo-F59TYP-w@mail.gmail.com%3E"
type="cite">
<div dir="ltr">
<p class="gmail-MsoPlainText">Hi Nicolas</p>
<p class="gmail-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="gmail-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="gmail-MsoPlainText">See <a moz-do-not-send="true"
href="https://at.projects.genivi.org/wiki/display/PROJ/Wayland+IVI+Extension+Design">https://at.projects.genivi.org/wiki/display/PROJ/Wayland+IVI+Extension+Design</a>
for more details on ivi-application protocol and IVI ILM.</p>
<p class="gmail-MsoPlainText">Thanks & Regards,</p>
<p class="gmail-MsoPlainText">Vikash<br>
</p>
<p class="gmail-MsoPlainText">From: Nicolas Dufresne <<a
moz-do-not-send="true" href="mailto:nicolas@ndufresne.ca">nicolas@ndufresne.ca</a>></p>
<p class="gmail-MsoPlainText">To: Discussion of the development
of and with GStreamer</p>
<p class="gmail-MsoPlainText"><span> </span><<a
moz-do-not-send="true"
href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>>,
Matthew Waters</p>
<p class="gmail-MsoPlainText"><span> </span><<a
moz-do-not-send="true" href="mailto:ystreet00@gmail.com">ystreet00@gmail.com</a>></p>
<p class="gmail-MsoPlainText">Subject: Re: [glimagesink] Adding
new property to
glimagesink and</p>
<p class="gmail-MsoPlainText"><span> </span>access
it in wayland platform</p>
<p class="gmail-MsoPlainText">Message-ID: <<a
moz-do-not-send="true"
href="mailto:1490971253.3749.1.camel@ndufresne.ca">1490971253.3749.1.camel@ndufresne.ca</a>></p>
<p class="gmail-MsoPlainText">Content-Type: text/plain;
charset="utf-8"</p>
<p class="gmail-MsoPlainText"> </p>
<p class="gmail-MsoPlainText">Le vendredi 31 mars 2017 à 07:13
+0530, Vikas Patil a écrit :</p>
<p class="gmail-MsoPlainText">> This surface-id is for
wayland-ivi-extension
(in-vehicle infotainment</p>
<p class="gmail-MsoPlainText">> layer manager) support in
glimagesink. I find
GstGlWindow is not</p>
<p class="gmail-MsoPlainText">> proper element and it seems
it is internally invoked
by glimagesink.</p>
<p class="gmail-MsoPlainText">> I am working with Wayland
platform.</p>
<p class="gmail-MsoPlainText"> </p>
<p class="gmail-MsoPlainText">Would it be possible to provide
some rational to these,
slightly empty,</p>
<p class="gmail-MsoPlainText">statements. All display sink in
GStreamer will display to
a "Window"</p>
<p class="gmail-MsoPlainText">which is just a holder for a
native handle specific to
the display</p>
<p class="gmail-MsoPlainText">system in place. On X11 this is an
XID, on Wayland this
is a surface</p>
<p class="gmail-MsoPlainText">handle, etc. I also don't see you
point about glimagesink
using a</p>
<p class="gmail-MsoPlainText">GstGLWindow abstraction to
display. Why should that
mechanism be forked</p>
<p class="gmail-MsoPlainText">for cars make no sense to me.</p>
<p class="gmail-MsoPlainText"> </p>
<p class="gmail-MsoPlainText">regards,</p>
<p class="gmail-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 moz-do-not-send="true"
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="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mar 31, 2017 4:02 AM,
"Matthew Waters" <<a moz-do-not-send="true"
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 moz-do-not-send="true"
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.<wbr>6.0</a><br>
> [2]<br>
> <a moz-do-not-send="true"
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>
</body>
</html>