Re: [Video] ILM support for waylandsink query

2017-03-28 Thread Eugen Friedrich
Hello Nicolas, the ilm api is implemented for the ivi (in vehicle infotainment) window management and allow to control applications surfaces outside from the compositor, it is realized by the ivi-shell in weston. with ivi-shell every weston surface have to have an id assigned to it (very simple

Re: [Video] ILM support for waylandsink query

2017-03-28 Thread Nicolas Dufresne
Le mardi 28 mars 2017 à 12:18 +0530, Vikas Patil a écrit : > Hi Eugen, > > Yes, I have implemented using protocol and it is working. However I > also want to try it with direct usage of ILM apis but no luck yet. I > have done the same with glimagesink, eglvivsink video sink plugin and > it is work

Re: [Video] ILM support for waylandsink query

2017-03-27 Thread Vikas Patil
Hi Eugen, Yes, I have implemented using protocol and it is working. However I also want to try it with direct usage of ILM apis but no luck yet. I have done the same with glimagesink, eglvivsink video sink plugin and it is working. Thanks & Regards, Vikash On Tue, Mar 28, 2017 at 1:09 AM, Eugen

Re: [Video] ILM support for waylandsink query

2017-03-27 Thread Eugen Friedrich
Hi Vikash, i could not really find this out from the call stack but the problem could be that the ilmClient api is not thread safe, and in upstream direct after 1.11 release we decided to deprecated this, so just remove the ilmClient calls and use wayland protocol directly and you can continue to

Re: [Video] ILM support for waylandsink query

2017-03-27 Thread Nicolas Dufresne
Le lundi 27 mars 2017 à 14:05 +0530, Vikas Patil a écrit : > 1. Using ivi-application protocol similar to simple-egl.c (test from > weston) > - This works. > - Here is video size is 1280x720 and screen resolution is 800x480 > then only top left of video is visible. How should I fix this? Embed way

Re: [Video] ILM support for waylandsink query

2017-03-27 Thread Vikas Patil
Hi All, Modifying the view port as follows solves the issue 1. However still not getting what could be the cause of segmentation fault with direct usage of ILM apis. //wl_viewport_set_destination (window->video_viewport, res.w, res.h); wl_viewport_set_destination (window->video_viewport, 800,

[Video] ILM support for waylandsink query

2017-03-24 Thread Vikas Patil
Dear All, I am trying to add support for wayland-ivi-extension 1.11.0 to waylandsink [1] (video sink plug-in from gstreamer1.0-plugins-bad package) for Jacinto6 SoC using following two methods. 1. Using ivi-application protocol similar to simple-egl.c (test from weston) - This works. - Here is vi