gst-libs/gst/tag/gstid3tag.c: Add TSSE <=> GST_TAG_ENCODER mapping (see #347898).

Original commit message from CVS:
* gst-libs/gst/tag/gstid3tag.c:
Add TSSE <=> GST_TAG_ENCODER mapping (see #347898).
* gst-libs/gst/tag/gsttageditingprivate.h:
* gst-libs/gst/tag/gstvorbistag.c:
Some more random const-ifications.
This commit is contained in:
Tim-Philipp Müller 2006-07-19 12:25:00 +00:00
parent 794586031e
commit f8e63966ad
4 changed files with 15 additions and 5 deletions

View file

@ -1,3 +1,12 @@
2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/tag/gstid3tag.c:
Add TSSE <=> GST_TAG_ENCODER mapping (see #347898).
* gst-libs/gst/tag/gsttageditingprivate.h:
* gst-libs/gst/tag/gstvorbistag.c:
Some more random const-ifications.
2006-07-18 Stefan Kost <ensonic@users.sf.net> 2006-07-18 Stefan Kost <ensonic@users.sf.net>
* gst-libs/gst/riff/riff-ids.h: * gst-libs/gst/riff/riff-ids.h:

View file

@ -192,7 +192,7 @@ static const gchar *genres[] = {
"Synthpop" "Synthpop"
}; };
static GstTagEntryMatch tag_matches[] = { static const GstTagEntryMatch tag_matches[] = {
{GST_TAG_TITLE, "TIT2"}, {GST_TAG_TITLE, "TIT2"},
{GST_TAG_ALBUM, "TALB"}, {GST_TAG_ALBUM, "TALB"},
{GST_TAG_TRACK_NUMBER, "TRCK"}, {GST_TAG_TRACK_NUMBER, "TRCK"},
@ -205,6 +205,7 @@ static GstTagEntryMatch tag_matches[] = {
{GST_TAG_DURATION, "TLEN"}, {GST_TAG_DURATION, "TLEN"},
{GST_TAG_ISRC, "TSRC"}, {GST_TAG_ISRC, "TSRC"},
{GST_TAG_IMAGE, "APIC"}, {GST_TAG_IMAGE, "APIC"},
{GST_TAG_ENCODER, "TSSE"},
{NULL, NULL} {NULL, NULL}
}; };
@ -236,7 +237,7 @@ gst_tag_from_id3_tag (const gchar * id3_tag)
return NULL; return NULL;
} }
static GstTagEntryMatch user_tag_matches[] = { static const GstTagEntryMatch user_tag_matches[] = {
/* musicbrainz identifiers being used in the real world (foobar2000) */ /* musicbrainz identifiers being used in the real world (foobar2000) */
{GST_TAG_MUSICBRAINZ_ARTISTID, "TXXX|musicbrainz_artistid"}, {GST_TAG_MUSICBRAINZ_ARTISTID, "TXXX|musicbrainz_artistid"},
{GST_TAG_MUSICBRAINZ_ALBUMID, "TXXX|musicbrainz_albumid"}, {GST_TAG_MUSICBRAINZ_ALBUMID, "TXXX|musicbrainz_albumid"},

View file

@ -28,8 +28,8 @@ G_BEGIN_DECLS
typedef struct _GstTagEntryMatch GstTagEntryMatch; typedef struct _GstTagEntryMatch GstTagEntryMatch;
struct _GstTagEntryMatch { struct _GstTagEntryMatch {
gchar * gstreamer_tag; const gchar * gstreamer_tag;
gchar * original_tag; const gchar * original_tag;
}; };

View file

@ -41,7 +41,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
static GstTagEntryMatch tag_matches[] = { static const GstTagEntryMatch tag_matches[] = {
{GST_TAG_TITLE, "TITLE"}, {GST_TAG_TITLE, "TITLE"},
{GST_TAG_VERSION, "VERSION"}, {GST_TAG_VERSION, "VERSION"},
{GST_TAG_ALBUM, "ALBUM"}, {GST_TAG_ALBUM, "ALBUM"},