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.
This commit is contained in:
parent
3e7e0bcb18
commit
103832742d
1
NEWS
1
NEWS
@ -2,6 +2,7 @@ ver 0.16.8 (2012/??/??)
|
|||||||
* fix for libsamplerate assertion failure
|
* fix for libsamplerate assertion failure
|
||||||
* decoder:
|
* decoder:
|
||||||
- vorbis (and others): fix seeking at startup
|
- vorbis (and others): fix seeking at startup
|
||||||
|
- ffmpeg: read the "year" tag
|
||||||
|
|
||||||
|
|
||||||
ver 0.16.7 (2012/02/04)
|
ver 0.16.7 (2012/02/04)
|
||||||
|
@ -597,8 +597,8 @@ typedef struct ffmpeg_tag_map {
|
|||||||
static const ffmpeg_tag_map ffmpeg_tag_maps[] = {
|
static const ffmpeg_tag_map ffmpeg_tag_maps[] = {
|
||||||
#if LIBAVFORMAT_VERSION_INT < ((52<<16)+(50<<8))
|
#if LIBAVFORMAT_VERSION_INT < ((52<<16)+(50<<8))
|
||||||
{ TAG_ARTIST, "author" },
|
{ TAG_ARTIST, "author" },
|
||||||
{ TAG_DATE, "year" },
|
|
||||||
#endif
|
#endif
|
||||||
|
{ TAG_DATE, "year" },
|
||||||
{ TAG_ARTIST_SORT, "author-sort" },
|
{ TAG_ARTIST_SORT, "author-sort" },
|
||||||
{ TAG_ALBUM_ARTIST, "album_artist" },
|
{ TAG_ALBUM_ARTIST, "album_artist" },
|
||||||
{ TAG_ALBUM_ARTIST_SORT, "album_artist-sort" },
|
{ TAG_ALBUM_ARTIST_SORT, "album_artist-sort" },
|
||||||
|
Loading…
Reference in New Issue
Block a user