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
4c0404c7
Commit
4c0404c7
authored
Jul 19, 2017
by
Matthew Leon
Committed by
Max Kellermann
Jul 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for MusicBrainz id3v2 tags in ffmpeg.
Addresses #82. Previously, the ffmpeg decoder only checked for the "generic" MusicBrainz metadata keys used in other metadata container formats.
parent
573a413e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
NEWS
NEWS
+2
-0
FfmpegMetaData.cxx
src/decoder/plugins/FfmpegMetaData.cxx
+6
-0
No files found.
NEWS
View file @
4c0404c7
ver 0.20.10 (not yet released)
ver 0.20.10 (not yet released)
* decoder
- ffmpeg: support MusicBrainz ID3v2 tags
ver 0.20.9 (2017/06/04)
ver 0.20.9 (2017/06/04)
* decoder
* decoder
...
...
src/decoder/plugins/FfmpegMetaData.cxx
View file @
4c0404c7
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
#include "FfmpegMetaData.hxx"
#include "FfmpegMetaData.hxx"
#include "tag/TagTable.hxx"
#include "tag/TagTable.hxx"
#include "tag/TagHandler.hxx"
#include "tag/TagHandler.hxx"
#include "tag/Id3MusicBrainz.hxx"
extern
"C"
{
extern
"C"
{
#include <libavutil/dict.h>
#include <libavutil/dict.h>
...
@@ -75,6 +76,11 @@ FfmpegScanDictionary(AVDictionary *dict,
...
@@ -75,6 +76,11 @@ FfmpegScanDictionary(AVDictionary *dict,
i
->
name
!=
nullptr
;
++
i
)
i
->
name
!=
nullptr
;
++
i
)
FfmpegScanTag
(
i
->
type
,
dict
,
i
->
name
,
FfmpegScanTag
(
i
->
type
,
dict
,
i
->
name
,
handler
,
handler_ctx
);
handler
,
handler_ctx
);
for
(
const
struct
tag_table
*
i
=
musicbrainz_txxx_tags
;
i
->
name
!=
nullptr
;
++
i
)
FfmpegScanTag
(
i
->
type
,
dict
,
i
->
name
,
handler
,
handler_ctx
);
}
}
if
(
handler
.
pair
!=
nullptr
)
if
(
handler
.
pair
!=
nullptr
)
...
...
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