mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
Taglib: don't try to add empty meta in APE
This commit is contained in:
parent
2a3be8975c
commit
00114ae28d
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user