From 5d0b5a209f64708dbe40d7b411b066661319397f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 31 Jan 2004 11:17:43 +0000 Subject: [PATCH] docs/random/mimetypes: update raw int/float info Original commit message from CVS: 2004-01-31 Benjamin Otte * docs/random/mimetypes: update raw int/float info * gst/gsttag.c: (_gst_tag_initialize): * gst/gsttag.h: add GST_TAG_ENCODER --- ChangeLog | 8 ++++++++ docs/random/mimetypes | 2 -- gst/gsttag.c | 5 +++++ gst/gsttag.h | 1 + gst/gsttaglist.c | 5 +++++ gst/gsttaglist.h | 1 + 6 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9f98874..655251c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-01-31 Benjamin Otte + + * docs/random/mimetypes: + update raw int/float info + * gst/gsttag.c: (_gst_tag_initialize): + * gst/gsttag.h: + add GST_TAG_ENCODER + 2004-01-30 David Schleef * gst/cothreads.c: Add another fallback if MAP_ANONYMOUS is diff --git a/docs/random/mimetypes b/docs/random/mimetypes index a66ddac..4acdbe1 100644 --- a/docs/random/mimetypes +++ b/docs/random/mimetypes @@ -533,7 +533,6 @@ format-specific properties: rate = 1 - MAXINT (INT, sampling rate) channels = 1 - MAXINT (INT, number of audio channels) -buffer-frames = 1 - MAXINT (INT, number of frames per buffer) endianness = 1234/4321 (INT) <- use G_BIG/LITTLE_ENDIAN 3 - Raw audio (integer format) @@ -545,7 +544,6 @@ endianness = 1234/4321 (INT) <- use G_BIG/LITTLE_ENDIAN 4 - Raw audio (floating point format) MIME type: audio/x-raw-float Properties: width = 32/64 (INT) - endianness: 1234/4321 (INT) buffer-frames: number of audio frames per buffer, 0=undefined Plugin Guidelines diff --git a/gst/gsttag.c b/gst/gsttag.c index 0ba4683..48b33e6 100644 --- a/gst/gsttag.c +++ b/gst/gsttag.c @@ -177,6 +177,11 @@ _gst_tag_initialize (void) _("maximum bitrate"), _("maximum bitrate in bits/s"), NULL); + gst_tag_register (GST_TAG_ENCODER, GST_TAG_FLAG_ENCODED, + G_TYPE_STRING, + _("encoder"), + _("encoder used to encode this stream"), + NULL); gst_tag_register (GST_TAG_ENCODER_VERSION, GST_TAG_FLAG_ENCODED, G_TYPE_UINT, _("encoder version"), diff --git a/gst/gsttag.h b/gst/gsttag.h index 37d45d1..954c8bc 100644 --- a/gst/gsttag.h +++ b/gst/gsttag.h @@ -248,6 +248,7 @@ GstTagList * gst_event_tag_get_list (GstEvent * tag_event); #define GST_TAG_MINIMUM_BITRATE "minimum-bitrate" #define GST_TAG_MAXIMUM_BITRATE "maximum-bitrate" #define GST_TAG_SERIAL "serial" +#define GST_TAG_ENCODER "encoder" #define GST_TAG_ENCODER_VERSION "encoder-version" #define GST_TAG_TRACK_GAIN "replaygain-track-gain" #define GST_TAG_TRACK_PEAK "replaygain-track-peak" diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index 0ba4683..48b33e6 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -177,6 +177,11 @@ _gst_tag_initialize (void) _("maximum bitrate"), _("maximum bitrate in bits/s"), NULL); + gst_tag_register (GST_TAG_ENCODER, GST_TAG_FLAG_ENCODED, + G_TYPE_STRING, + _("encoder"), + _("encoder used to encode this stream"), + NULL); gst_tag_register (GST_TAG_ENCODER_VERSION, GST_TAG_FLAG_ENCODED, G_TYPE_UINT, _("encoder version"), diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index 37d45d1..954c8bc 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -248,6 +248,7 @@ GstTagList * gst_event_tag_get_list (GstEvent * tag_event); #define GST_TAG_MINIMUM_BITRATE "minimum-bitrate" #define GST_TAG_MAXIMUM_BITRATE "maximum-bitrate" #define GST_TAG_SERIAL "serial" +#define GST_TAG_ENCODER "encoder" #define GST_TAG_ENCODER_VERSION "encoder-version" #define GST_TAG_TRACK_GAIN "replaygain-track-gain" #define GST_TAG_TRACK_PEAK "replaygain-track-peak" -- 2.7.4