Commit f8e63966 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

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.
parent 79458603
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>
 
* gst-libs/gst/riff/riff-ids.h:
......
......@@ -192,7 +192,7 @@ static const gchar *genres[] = {
"Synthpop"
};
static GstTagEntryMatch tag_matches[] = {
static const GstTagEntryMatch tag_matches[] = {
{GST_TAG_TITLE, "TIT2"},
{GST_TAG_ALBUM, "TALB"},
{GST_TAG_TRACK_NUMBER, "TRCK"},
......@@ -205,6 +205,7 @@ static GstTagEntryMatch tag_matches[] = {
{GST_TAG_DURATION, "TLEN"},
{GST_TAG_ISRC, "TSRC"},
{GST_TAG_IMAGE, "APIC"},
{GST_TAG_ENCODER, "TSSE"},
{NULL, NULL}
};
......@@ -236,7 +237,7 @@ gst_tag_from_id3_tag (const gchar * id3_tag)
return NULL;
}
static GstTagEntryMatch user_tag_matches[] = {
static const GstTagEntryMatch user_tag_matches[] = {
/* musicbrainz identifiers being used in the real world (foobar2000) */
{GST_TAG_MUSICBRAINZ_ARTISTID, "TXXX|musicbrainz_artistid"},
{GST_TAG_MUSICBRAINZ_ALBUMID, "TXXX|musicbrainz_albumid"},
......
......@@ -28,8 +28,8 @@ G_BEGIN_DECLS
typedef struct _GstTagEntryMatch GstTagEntryMatch;
struct _GstTagEntryMatch {
gchar * gstreamer_tag;
gchar * original_tag;
const gchar * gstreamer_tag;
const gchar * original_tag;
};
......
......@@ -41,7 +41,7 @@
#include <stdlib.h>
#include <string.h>
static GstTagEntryMatch tag_matches[] = {
static const GstTagEntryMatch tag_matches[] = {
{GST_TAG_TITLE, "TITLE"},
{GST_TAG_VERSION, "VERSION"},
{GST_TAG_ALBUM, "ALBUM"},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment