<html><head></head><body>Hi<br><br>I haven't considered what the proper behaviour would be. I just don't think it's right to delegate it to the application, as the app has less info, and the app dev likely less expertise than we do.<br><br><div class="gmail_quote">Le 4 décembre 2019 12:14:56 GMT+02:00, Alexandre Janniaux <ajanni@videolabs.io> 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">Hi,<br><br>Would you suggest that we always parse associated medias like<br>input slaves then?<br><br>On Tue, Dec 03, 2019 at 08:21:05PM +0200, Rémi Denis-Courmont wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;">Le tiistaina 3. joulukuuta 2019, 18.02.22 EET Alexandre Janniaux a écrit :<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;">This META_REQUEST_ parameter aims at enabling the parsing of<br>input_slaves and similar mechanisms whenever the main media is asked to<br>be parsed. It will be disabled in the default state, providing IO<br>savings for use case which doesn't need it.<br></blockquote>This looks like a cop-out to me. How would the app developper know any better<br>than the demuxer or the core that it needs to set or clear the flag??<br>I don't think the app devs should be bothered with this implementation detail<br>of LibVLC.<br></blockquote><br>I don't really understand your point as is.<br><br>This patch is mostly to have `libvlc_media_tracks_get` return<br>the tracks from input_slave as well as the main input.<br><br>In most case you don't care because the input slave is a<br>subtitle file. But when you need es_id associated with the<br>different tracks you must parse the given input_slave.<br><br>I describe the case where it is needed in this patchset.<br><br>Regards,<br>--<br>Alexandre Janniaux<br>Videolabs<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>