<html><head></head><body>Hi,<br><br>Using cache only essentially optimises for half-assed plugins that don't implement streaming like the libsmbclient-based one, but *breaks* slow bandwidth inputs even with properly implemented plugins like HTTP or FTP, which require prefetch.<br><br>I don't think we should optimise for bugs if it means breaking something else.<br><br><div class="gmail_quote">Le 10 octobre 2019 16:54:59 GMT+03:00, "Hugo Beauzée-Luyssen" <hugo@beauzee.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">We can't use vlc_stream_NewURL as it will include the skiptags filter<hr> modules/meta_engine/taglib.cpp | 3 +++<br> 1 file changed, 3 insertions(+)<br><br>diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp<br>index c71a66ca58..2826a7d85c 100644<br>--- a/modules/meta_engine/taglib.cpp<br>+++ b/modules/meta_engine/taglib.cpp<br>@@ -842,6 +842,9 @@ static int ReadMeta( vlc_object_t* p_this)<br>     free( psz_uri );<br>     if( p_stream == NULL )<br>         return VLC_EGENERIC;<br>+    stream_t* p_filter = vlc_stream_FilterNew( p_stream, "cache" );<br>+    if( p_filter )<br>+        p_stream = p_filter;<br> <br>     VlcIostream s( p_stream );<br>     f = FileRef( &s );</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>