diff options
author | Wolfgang Müller | 2022-02-15 18:10:18 +0100 |
---|---|---|
committer | Wolfgang Müller | 2022-02-15 18:10:18 +0100 |
commit | b9dc69a3be5643cb1f4ed3b27571e4aeea56333b (patch) | |
tree | 57efbed393aff7e1cbbde78aeaeecf9156b2b7ee /group-desktop | |
parent | 1181a6fb53df3560bcb3b6b4051d0b4afc4ec39f (diff) | |
download | portage-roles-b9dc69a3be5643cb1f4ed3b27571e4aeea56333b.tar.gz |
group-desktop: Add Grouping tag patch for media-video/ffmpeg
Whilst this patch has been accepted upstream through [1]/[2], we still
need to apply it locally until a stable version with it is released.
[1] https://ffmpeg.org/pipermail/ffmpeg-devel/2022-February/293001.html
[2] https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/a67734596dca097584965916e0ba90e81af3163c
Diffstat (limited to 'group-desktop')
-rw-r--r-- | group-desktop/patches/media-video/ffmpeg/0001-avformat-id3v2-Add-Grouping-frame-to-id3v2.4-metadat.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/group-desktop/patches/media-video/ffmpeg/0001-avformat-id3v2-Add-Grouping-frame-to-id3v2.4-metadat.patch b/group-desktop/patches/media-video/ffmpeg/0001-avformat-id3v2-Add-Grouping-frame-to-id3v2.4-metadat.patch new file mode 100644 index 0000000..f51dcae --- /dev/null +++ b/group-desktop/patches/media-video/ffmpeg/0001-avformat-id3v2-Add-Grouping-frame-to-id3v2.4-metadat.patch @@ -0,0 +1,35 @@ +From 323acd73685903e8b1c8b99bfe89fb06b9b6ed63 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Wolfgang=20M=C3=BCller?= <wolf@oriole.systems> +Date: Sun, 13 Feb 2022 12:45:40 +0100 +Subject: [PATCH] avformat/id3v2: Add Grouping frame to id3v2.4 metadata table + +The ID3v2.4.0 standard defines TIT1 as the "Content group description" +tag [1]. This frame is usually referred to as the "Grouping" tag and in +de-facto use under that name by Vorbis and APEv2 [2]. + +This commit introduces a mapping from "TIT1" to "grouping" in the +id3v2.4 metadata conversion table. This will enable software to access +it using that name. In particular, MPD will now read this tag correctly +when using the ffmpeg decoder plugin. + +[1] https://id3.org/id3v2.4.0-frames (4.2.1) +[2] https://picard-docs.musicbrainz.org/en/appendices/tag_mapping.html#grouping-3 +--- + libavformat/id3v2.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c +index ff27c062e5..0f9bedea02 100644 +--- a/libavformat/id3v2.c ++++ b/libavformat/id3v2.c +@@ -69,6 +69,7 @@ const AVMetadataConv ff_id3v2_4_metadata_conv[] = { + { "TSOA", "album-sort" }, + { "TSOP", "artist-sort" }, + { "TSOT", "title-sort" }, ++ { "TIT1", "grouping" }, + { 0 } + }; + +-- +2.35.1 + |