[vlc-devel] [RFC 03/82] taglib: Use vlc_stream_NewURL instead of vlc_access_NewMRL

Pierre Lamot pierre at videolabs.io
Fri Feb 1 14:01:07 CET 2019


From: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

---
 modules/meta_engine/taglib.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index b617a8ee51..a403b6d66b 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -173,7 +173,7 @@ public:
 
     FileName name() const
     {
-        return m_stream->psz_location;
+        return m_stream->psz_uri;
     }
 
     ByteVector readBlock(ulong length)
@@ -841,7 +841,7 @@ static int ReadMeta( vlc_object_t* p_this)
     if ( true )
 #endif
     {
-    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.19.1



More information about the vlc-devel mailing list