<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div>On Wed, Apr 3, 2019, at 15:37, Rémi Denis-Courmont wrote:<br></div><blockquote type="cite" id="fastmail-quoted"><div>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></div><div><br></div><div>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></div></blockquote><div><br></div><div>I don't remember: is it planned for 4.0 ?<br></div><div><br></div><blockquote type="cite" id="fastmail-quoted"><div><br></div><div class="fastmail-quoted-gmail_quote"><div>Le 3 avril 2019 11:11:36 GMT+03:00, Thomas Guillem <thomas@gllm.fr> 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><br></div><div>On Wed, Apr 3, 2019, at 10:09, Steve Lhomme wrote:<br></div><div>> <br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(114, 159, 207);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="fastmail-quoted-gmail_quote"><div>On 4/2/2019 2:21 PM, Alexandre Janniaux wrote:<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(173, 127, 168);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="fastmail-quoted-gmail_quote"><div> Hi,<br></div><div><br></div><div> On 2019-04-02 12:49, Steve Lhomme wrote:<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(138, 226, 52);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="fastmail-quoted-gmail_quote"><div>On 4/2/2019 9:15 AM, Thomas Guillem wrote:<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(252, 175, 62);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="fastmail-quoted-gmail_quote"><div>On Mon, Apr 1, 2019, at 17:24, Rémi Denis-Courmont wrote:<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(233, 185, 110);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="fastmail-quoted-gmail_quote"><div>Le maanantaina 1. huhtikuuta 2019, 14.21.42 EEST Thomas Guillem a <br></div><div>écrit :<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;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"><div> This will be used by the libvlc media_player (when we switch from<br></div><div> input_thread_t to vlc_player_t).<br></div><div><br></div><div> This will be used by the following libvlc calls:<br></div><div>   - libvlc_media_player_set_nsobject<br></div><div>   - libvlc_media_player_set_xwindow<br></div><div>   - libvlc_media_player_set_hwnd<br></div><div>   - libvlc_media_player_set_android_context<br></div></blockquote><div>No it won't. We agreed at the last meeting to use callbacks.<br></div></blockquote><div>I don't remember.<br></div></blockquote><div>I don't remember talking about making any changes there either.<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></blockquote><div> In my notes, I had a mention of a "vout window provider" when we need to<br></div><div> create multiple window. It was in the multiple vout/multiple ES mapping<br></div><div> with callback discussion, within the context of a mosaic output with<br></div><div> opengl rendering.<br></div><div><br></div><div> iirc, what has been said is mostly that each view of the mosaic would be<br></div><div> a different video output and a different window which defines either a<br></div><div> subsurface/subwindow or a viewport. The vout window provider was the<br></div><div> mechanism to provide that. I'm not sure we defined anything else about<br></div><div> it.<br></div><div><br></div><div> In the context of this thread, it would solve the issue for the Qt<br></div><div> window context, but I would say it needs an additional refactor that is<br></div><div> not needed right now. So maybe we can use one of the suggested<br></div><div> solution, even if marking it as deprecated right now, and refactor it<br></div><div> out later to define and introduce this concept?<br></div></blockquote><div>No sure we want to change the libvlc API's yet again for VLC 5.0. IMO it <br></div><div>should be done now.<br></div></blockquote><div><br></div><div>No matter what we decide in VLC Core, we won't touch the following  LIBVLC API:<br></div><div>      - libvlc_media_player_set_nsobject<br></div><div>      - libvlc_media_player_set_xwindow<br></div><div>      - libvlc_media_player_set_hwnd<br></div><div>      - libvlc_media_player_set_android_context<br></div><div><br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(114, 159, 207);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="fastmail-quoted-gmail_quote"><div><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></blockquote><div><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></body></html>