[vlc-devel] [PATCH 2/3] taglib: do not ignore mpeg ape tags

Anatoliy Anischovich lin.aaa.lin at gmail.com
Wed Jul 23 11:04:15 CEST 2014


---
 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 1fa1b85..7039e86 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -771,7 +771,7 @@ static int ReadMeta( vlc_object_t* p_this)
     {
         if( mpeg->ID3v2Tag() )
             ReadMetaFromId3v2( mpeg->ID3v2Tag(), p_demux_meta, p_meta );
-        else if( mpeg->APETag() )
+        if( mpeg->APETag() )
             ReadMetaFromAPE( mpeg->APETag(), p_demux_meta, p_meta );
     }
     else if( dynamic_cast<Ogg::File*>(f.file()) )
@@ -1097,7 +1097,7 @@ static int WriteMeta( vlc_object_t *p_this )
     {
         if( mpeg->ID3v2Tag() )
             WriteMetaToId3v2( mpeg->ID3v2Tag(), p_item );
-        else if( mpeg->APETag() )
+        if( mpeg->APETag() )
             WriteMetaToAPE( mpeg->APETag(), p_item );
     }
     else if( dynamic_cast<Ogg::File*>(f.file()) )
-- 
2.0.1




More information about the vlc-devel mailing list