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
9fed97b1
Commit
9fed97b1
authored
Oct 28, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/ffmpeg: removed the "author" vs "artist" workaround
libavformat gives us the song artist in the "author" field. Since we use av_metadata_conv(), we don't need to check for "artist".
parent
83a9cf74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
ffmpeg_plugin.c
src/decoder/ffmpeg_plugin.c
+1
-2
No files found.
src/decoder/ffmpeg_plugin.c
View file @
9fed97b1
...
@@ -364,8 +364,7 @@ static bool ffmpeg_tag_internal(struct ffmpeg_context *ctx)
...
@@ -364,8 +364,7 @@ static bool ffmpeg_tag_internal(struct ffmpeg_context *ctx)
av_metadata_conv
(
f
,
NULL
,
f
->
iformat
->
metadata_conv
);
av_metadata_conv
(
f
,
NULL
,
f
->
iformat
->
metadata_conv
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_TITLE
,
"title"
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_TITLE
,
"title"
);
if
(
!
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_ARTIST
,
"author"
))
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_ARTIST
,
"author"
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_ARTIST
,
"artist"
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_ALBUM
,
"album"
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_ALBUM
,
"album"
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_COMMENT
,
"comment"
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_COMMENT
,
"comment"
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_GENRE
,
"genre"
);
ffmpeg_copy_metadata
(
tag
,
f
->
metadata
,
TAG_GENRE
,
"genre"
);
...
...
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