[vlc-commits] meta_reader: taglib: don't read audio properties

Francois Cartegnie git at videolan.org
Wed Feb 17 16:20:02 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Feb 16 13:26:54 2016 +0100| [524f5c09446b521d9d6decef4dfd08b0f92d3ed8] | committer: Francois Cartegnie

meta_reader: taglib: don't read audio properties

As we only use metadata, we don't need taglib
to fetch audioproperties

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=524f5c09446b521d9d6decef4dfd08b0f92d3ed8
---

 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 f82ce8d2..e4fbb93 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -1037,10 +1037,10 @@ static int WriteMeta( vlc_object_t *p_this )
     wchar_t *wpath = ToWide( p_export->psz_file );
     if( wpath == NULL )
         return VLC_EGENERIC;
-    f = FileRef( wpath );
+    f = FileRef( wpath, false );
     free( wpath );
 #else
-    f = FileRef( p_export->psz_file );
+    f = FileRef( p_export->psz_file, false );
 #endif
 
     if( f.isNull() || !f.tag() || f.file()->readOnly() )



More information about the vlc-commits mailing list