[vlc-devel] [PATCH 4/4] taglib: Use vlc_stream_NewURL instead of vlc_access_NewMRL

Hugo Beauzée-Luyssen hugo at beauzee.fr
Tue Oct 8 18:16:17 CEST 2019


So we can leverage our caching
---
 modules/meta_engine/taglib.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index c71a66ca58..1e7da4791c 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -838,7 +838,7 @@ static int ReadMeta( vlc_object_t* p_this)
         b_extensions_registered = true;
     }
 
-    stream_t *p_stream = vlc_access_NewMRL( p_this, psz_uri );
+    stream_t *p_stream = vlc_stream_NewURL( p_this, psz_uri );
     free( psz_uri );
     if( p_stream == NULL )
         return VLC_EGENERIC;
-- 
2.20.1



More information about the vlc-devel mailing list