<!doctype html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body>Hi, <br><br>That's a ridiculous argument. VLC plugins have always been such that they would br run on any thread but not be re-entered. And that's a consequence of VLC always being multi-thread-based rather event-based. If you want an event based media framework, you have the wrong project.<br><br>Not to mention that the GL provider and GL surface abstractions were specifically designed to support multi-threading, unlike their predecessors. Or that I need the changes to fix outstanding issues assigned to me.<br><br><div class="gmail_quote">Le 31 janvier 2019 13:38:13 GMT+02:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>On Thu, Jan 31, 2019, at 12:06, Rémi Denis-Courmont wrote:<br></div><blockquote type="cite" id="fastmail-quoted"><div>No. That's obviously a bug in your external code.<br></div></blockquote><div><br></div><div> VLC will very likely depends on bugged external codes when display is concerned.<br></div><div><br></div><div>VLC handle so many different vout API: GL/GLES EGL/WGL/Apple, Vulkan, Direct 3D, wayland, X11.<br></div><div>Each of these API can have bugged drivers or bugged implementation.<br></div><div>Do we really want to add us an extra difficulty by having the "vout display" open() called from a different thread ?<br></div><div><br></div><div><br></div><blockquote type="cite" id="fastmail-quoted"><div><br></div><div class="fastmail-quoted-gmail_quote"><div>Le 31 janvier 2019 13:00:24 GMT+02:00, Pierre Lamot <pierre@videolabs.io> a écrit :<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:0pt;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="fastmail-quoted-gmail_quote"><pre class="fastmail-quoted-k9mail"><div>Hi,<br></div><div><br></div><div>it looks like the commit "4c8af37efa8b4dddd62c4716ff0acbefc071745f" (vout: start before creating the thread) is causing issues:<br></div><div><br></div><div>we end up having calls on the OpenGL context from differents thread wich might not be supported by some implementations. <br></div><div>ie: when using external OpenGL rendering with Qt OpenGL implementation, Qt will throw an exception.<br></div><div><br></div><div>please revert<br></div><div><br></div><div>--<br></div><div>Pierre Lamot<hr>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></div></pre></blockquote></div><div><br></div><div>-- <br></div><div>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté. <br></div><div>_______________________________________________<br></div><div>vlc-devel mailing list<br></div><div>To unsubscribe or modify your subscription options:<br></div><div>https://mailman.videolan.org/listinfo/vlc-devel<br></div></blockquote><div><br></div></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>