From c87f164eff749e14bc2fc3dce5abed2af807ec60 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Fri, 5 Aug 2011 16:53:47 +0100 Subject: [PATCH] gstvorbistag: map ENCODER Vorbis comment to application-name What GStreamer calls encoder ("encoder used to encode this stream") is stored in the vendor string in Vorbis/Theora/Kate and possibly others. The Vorbis comment packet used in those streams uses ENCODER as the name of the encoding program, which GStreamer calls application-name. https://bugzilla.gnome.org/show_bug.cgi?id=656034 --- gst-libs/gst/tag/gstvorbistag.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst-libs/gst/tag/gstvorbistag.c b/gst-libs/gst/tag/gstvorbistag.c index da1a1f326c..8fb2f85531 100644 --- a/gst-libs/gst/tag/gstvorbistag.c +++ b/gst-libs/gst/tag/gstvorbistag.c @@ -98,6 +98,11 @@ static const GstTagEntryMatch tag_matches[] = { * http://mail.kde.org/pipermail/amarok/2006-May/000090.html */ {GST_TAG_BEATS_PER_MINUTE, "BPM"}, + /* What GStreamer calls encoder ("encoder used to encode this stream") is + stored in the vendor string in Vorbis/Theora/Kate and possibly others. + The Vorbis comment packet used in those streams uses ENCODER as the name + of the encoding program, which GStreamer calls application-name. */ + {GST_TAG_APPLICATION_NAME, "ENCODER"}, {NULL, NULL} };