diff options
author | Max Kellermann <max@duempel.org> | 2012-02-13 19:05:39 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-02-13 19:05:39 +0100 |
commit | 103832742d4ef2b6bb86d287b8557ab3e64dba21 (patch) | |
tree | 877666878cf805ee2627749552d106e79515083c /src/decoder | |
parent | 3e7e0bcb1877785716cd83199129edb68a2feab4 (diff) | |
download | mpd-103832742d4ef2b6bb86d287b8557ab3e64dba21.tar.gz mpd-103832742d4ef2b6bb86d287b8557ab3e64dba21.tar.xz mpd-103832742d4ef2b6bb86d287b8557ab3e64dba21.zip |
decoder/ffmpeg: read the "year" tag
This was disabled when compiled with a new ffmpeg version. Older
ffmpeg versions used it explicitly, while newer ones may pass it
through from the codec.
Diffstat (limited to 'src/decoder')
-rw-r--r-- | src/decoder/ffmpeg_decoder_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/ffmpeg_decoder_plugin.c b/src/decoder/ffmpeg_decoder_plugin.c index 52632dc4a..2929d316a 100644 --- a/src/decoder/ffmpeg_decoder_plugin.c +++ b/src/decoder/ffmpeg_decoder_plugin.c @@ -597,8 +597,8 @@ typedef struct ffmpeg_tag_map { static const ffmpeg_tag_map ffmpeg_tag_maps[] = { #if LIBAVFORMAT_VERSION_INT < ((52<<16)+(50<<8)) { TAG_ARTIST, "author" }, - { TAG_DATE, "year" }, #endif + { TAG_DATE, "year" }, { TAG_ARTIST_SORT, "author-sort" }, { TAG_ALBUM_ARTIST, "album_artist" }, { TAG_ALBUM_ARTIST_SORT, "album_artist-sort" }, |