Skip to content
  • Johannes Weißl's avatar
    Fix bug in taglib txxx handling · 5010066b
    Johannes Weißl authored and Rémi Denis-Courmont's avatar Rémi Denis-Courmont committed
    
    
    Currently, vlc puts the value *and* the description in the value field
    for id3 TXXX tags, e.g. in Media Information:
    REPLAYGAIN_TRACK_GAIN: REPLAYGAIN_TRACK_GAIN +3.30 dB
    
    This leads to vlc_audio_replay_gain_MergeFromMeta() failing because it
    can't parse the floating point value. Since the fieldList() of an
    UserTextIdentificationFrame has exactly two members, it is safe to just
    use the last (value) member. In Media Information:
    REPLAYGAIN_TRACK_GAIN: +3.30 dB
    
    This makes ReplayGain work for mp3 files.
    
    Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
    5010066b