Commit 0f433ffd authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Ogg: do not display x,x if we have both methods for TrackTotal

parent d76e3ea6
......@@ -152,8 +152,10 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
IF_EXTRACT("TITLE=", Title )
else IF_EXTRACT("ALBUM=", Album )
else IF_EXTRACT("TRACKNUMBER=", TrackNumber )
else IF_EXTRACT("TRACKTOTAL=", TrackTotal )
else IF_EXTRACT("TOTALTRACKS=", TrackTotal )
else if( !hasTrackTotal )
IF_EXTRACT("TRACKTOTAL=", TrackTotal )
else if( !hasTrackTotal )
IF_EXTRACT("TOTALTRACKS=", TrackTotal )
else IF_EXTRACT("ARTIST=", Artist )
else IF_EXTRACT("COPYRIGHT=", Copyright )
else IF_EXTRACT("ORGANIZATION=", Publisher )
......
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