Hi Miquel,<br><br>Could you review your changes and make a patch that I would be able to commit ?<br><br>-&gt; remove unused line at the begnning<br>-&gt; use gpointer instead of void*<br>-&gt; let the #ifdef WIN32 you removed<br>
-&gt;  replace the last<br>g_print (&quot;no yet implemented if not win32\n&quot;);<br> return -1;<br><br>by glXMakeCurrent (sdl_display, None, 0);<br>-&gt; remove APPLE and mach stuffs at the beginning<br>-&gt; put #include &lt;GL/glx.h&gt; in a #ifndef WIN32 <br>
<br>Then open a bug and attach your patch using git-format<br><br>Julien<br><br><div class="gmail_quote">2009/8/27 Miquel Ŕngel Farré <span dir="ltr">&lt;<a href="mailto:miquel.farre@gmail.com">miquel.farre@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Julien,<br><br> Thanks a lot for your sdl example, I have changed some things related with sdl_syswm and some casts and finally it works fine on linux :)<br>
<br>Atached you can find the modified example and his makefile<div><div></div><div class="h5"><br>
<br>Thanks,<br><br>Miquel <br><br><div class="gmail_quote">2009/8/26 Julien Isorce <span dir="ltr">&lt;<a href="mailto:julien.isorce@gmail.com" target="_blank">julien.isorce@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Hi Miquel,<br><br>Take a look at gst-plugins-gl/tests/examples/sdl/sdlshare.c example.<br><br>(note that I have currently only tested it on win32, but I did the stuffs for GLX, so it should work on linux too)<br><br>I think your use case is a little bit more complex because you was talking about threads,<br>


maybe because of sdl main loop and glib main loop.<br>So if you succeed then I would like to put your example in gst gl git.<br><br>Regards<br><font color="#888888">Julien</font><div><div></div><br></div></blockquote></div>
</div></div></blockquote></div><br>