docs/random/mimetypes: update raw int/float info
authorBenjamin Otte <otte@gnome.org>
Sat, 31 Jan 2004 11:17:43 +0000 (11:17 +0000)
committerBenjamin Otte <otte@gnome.org>
Sat, 31 Jan 2004 11:17:43 +0000 (11:17 +0000)
Original commit message from CVS:
2004-01-31  Benjamin Otte  <in7y118@public.uni-hamburg.de>

* docs/random/mimetypes:
update raw int/float info
* gst/gsttag.c: (_gst_tag_initialize):
* gst/gsttag.h:
add GST_TAG_ENCODER

ChangeLog
docs/random/mimetypes
gst/gsttag.c
gst/gsttag.h
gst/gsttaglist.c
gst/gsttaglist.h

index 9f98874..655251c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-01-31  Benjamin Otte  <in7y118@public.uni-hamburg.de>
+
+       * 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  <ds@schleef.org>
 
        * gst/cothreads.c: Add another fallback if MAP_ANONYMOUS is
index a66ddac..4acdbe1 100644 (file)
@@ -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
index 0ba4683..48b33e6 100644 (file)
@@ -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"),
index 37d45d1..954c8bc 100644 (file)
@@ -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"
index 0ba4683..48b33e6 100644 (file)
@@ -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"),
index 37d45d1..954c8bc 100644 (file)
@@ -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"