Commit 00114ae2 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Taglib: don't try to add empty meta in APE

parent 2a3be897
......@@ -119,7 +119,7 @@ static void ReadMetaFromAPE( APE::Tag* tag, demux_meta_t*, vlc_meta_t* p_meta )
APE::Item item;
#define SET( keyName, metaName ) \
item = tag->itemListMap()[keyName]; \
vlc_meta_Set##metaName( p_meta, item.toString().toCString( true ) );\
if( !item.isEmpty() ) vlc_meta_Set##metaName( p_meta, item.toString().toCString( true ) ); \
SET( "COPYRIGHT", Copyright );
SET( "LANGUAGE", Language );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment