Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
10383274
Commit
10383274
authored
Feb 13, 2012
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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.
parent
3e7e0bcb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
NEWS
NEWS
+1
-0
ffmpeg_decoder_plugin.c
src/decoder/ffmpeg_decoder_plugin.c
+1
-1
No files found.
NEWS
View file @
10383274
...
@@ -2,6 +2,7 @@ ver 0.16.8 (2012/??/??)
...
@@ -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)
...
...
src/decoder/ffmpeg_decoder_plugin.c
View file @
10383274
...
@@ -597,8 +597,8 @@ typedef struct ffmpeg_tag_map {
...
@@ -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"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment