<html><head></head><body>LibVLC needs to support the callbacks approach. The most common use case is for the application to only allocate a window when needed (like Qt VLC does).<br><br>The existing APIs should be retained, but they can be backward compatibility wrappers around the callbacks. As such, there are no needs for the VLC player / input manager to support the existing/old APIs.<br><br><div class="gmail_quote">Le 3 avril 2019 11:11:36 GMT+03: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;">
<pre class="k9mail"><br>On Wed, Apr 3, 2019, at 10:09, Steve Lhomme wrote:<br>> <br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">On 4/2/2019 2:21 PM, Alexandre Janniaux wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Hi,<br><br> On 2019-04-02 12:49, Steve Lhomme wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;">On 4/2/2019 9:15 AM, Thomas Guillem wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;">On Mon, Apr 1, 2019, at 17:24, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;">Le maanantaina 1. huhtikuuta 2019, 14.21.42 EEST Thomas Guillem a <br>écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> This will be used by the libvlc media_player (when we switch from<br> input_thread_t to vlc_player_t).<br><br> This will be used by the following libvlc calls:<br> - libvlc_media_player_set_nsobject<br> - libvlc_media_player_set_xwindow<br> - libvlc_media_player_set_hwnd<br> - libvlc_media_player_set_android_context<br></blockquote>No it won't. We agreed at the last meeting to use callbacks.<br></blockquote>I don't remember.<br></blockquote>I don't remember talking about making any changes there either.<hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote> In my notes, I had a mention of a "vout window provider" when we need to<br> create multiple window. It was in the multiple vout/multiple ES mapping<br> with callback discussion, within the context of a mosaic output with<br> opengl rendering.<br><br> iirc, what has been said is mostly that each view of the mosaic would be<br> a different video output and a different window which defines either a<br> subsurface/subwindow or a viewport. The vout window provider was the<br> mechanism to provide that. I'm not sure we defined anything else about<br> it.<br><br> In the context of this thread, it would solve the issue for the Qt<br> window context, but I would say it needs an additional refactor that is<br> not needed right now. So maybe we can use one of the suggested<br> solution, even if marking it as deprecated right now, and refactor it<br> out later to define and introduce this concept?<br></blockquote>No sure we want to change the libvlc API's yet again for VLC 5.0. IMO it <br>should be done now.<br></blockquote><br>No matter what we decide in VLC Core, we won't touch the following LIBVLC API:<br> - libvlc_media_player_set_nsobject<br> - libvlc_media_player_set_xwindow<br> - libvlc_media_player_set_hwnd<br> - libvlc_media_player_set_android_context<br><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></blockquote><hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>