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
This commit is contained in:
Vincent Penquerc'h 2011-08-05 16:53:47 +01:00 committed by Stefan Kost
parent c2ce145e72
commit c87f164eff

View file

@ -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}
};