Skip to content
Snippets Groups Projects
Commit fa570a55 authored by James Almer's avatar James Almer Committed by Vittorio Giovara
Browse files

riff: Add ITRK tag

Some players, like foobar2000 or modern versions of WMP, create WAV
files using the ITRK tag for track instead of IPRT
parent 121b5b7e
No related branches found
No related tags found
No related merge requests found
......@@ -392,6 +392,7 @@ const AVMetadataConv ff_riff_info_conv[] = {
{ "INAM", "title" },
{ "IPRD", "album" },
{ "IPRT", "track" },
{ "ITRK", "track" },
{ "ISFT", "encoder" },
{ "ITCH", "encoded_by" },
{ 0 },
......
......@@ -257,7 +257,7 @@ void ff_riff_write_info_tag(AVIOContext *pb, const char *tag, const char *str)
static const char riff_tags[][5] = {
"IARL", "IART", "ICMS", "ICMT", "ICOP", "ICRD", "ICRP", "IDIM", "IDPI",
"IENG", "IGNR", "IKEY", "ILGT", "ILNG", "IMED", "INAM", "IPLT", "IPRD",
"IPRT", "ISBJ", "ISFT", "ISHP", "ISRC", "ISRF", "ITCH",
"IPRT", "ITRK", "ISBJ", "ISFT", "ISHP", "ISRC", "ISRF", "ITCH",
{ 0 }
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment