projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03d4a69
)
vorbistag: add mapping for TOTALTRACKS and TOTALDISCS tags
author
Tim-Philipp Müller
<tim@centricular.net>
Thu, 14 Feb 2013 00:29:01 +0000
(
00:29
+0000)
committer
Tim-Philipp Müller
<tim@centricular.net>
Thu, 14 Feb 2013 00:33:56 +0000
(
00:33
+0000)
Found TOTALTRACKS in a FLAC file instead of TRACKTOTAL,
we should at least read this if present.
http://www.hydrogenaudio.org/forums/index.php?showtopic=91496&st=0&p=773857&#entry773857
gst-libs/gst/tag/gstvorbistag.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/tag/gstvorbistag.c
b/gst-libs/gst/tag/gstvorbistag.c
index
c6fa94e
..
ae4702c
100644
(file)
--- a/
gst-libs/gst/tag/gstvorbistag.c
+++ b/
gst-libs/gst/tag/gstvorbistag.c
@@
-53,7
+53,9
@@
static const GstTagEntryMatch tag_matches[] = {
{GST_TAG_TRACK_NUMBER, "TRACKNUMBER"},
{GST_TAG_ALBUM_VOLUME_NUMBER, "DISCNUMBER"},
{GST_TAG_TRACK_COUNT, "TRACKTOTAL"},
+ {GST_TAG_TRACK_COUNT, "TOTALTRACKS"}, /* old / non-standard */
{GST_TAG_ALBUM_VOLUME_COUNT, "DISCTOTAL"},
+ {GST_TAG_ALBUM_VOLUME_COUNT, "TOTALDISCS"}, /* old / non-standard */
{GST_TAG_ARTIST, "ARTIST"},
{GST_TAG_PERFORMER, "PERFORMER"},
{GST_TAG_COMPOSER, "COMPOSER"},