gst/gsttag.*: Add application tag (for encoding/muxing app).
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 23 Jan 2004 13:18:46 +0000 (13:18 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 23 Jan 2004 13:18:46 +0000 (13:18 +0000)
Original commit message from CVS:
2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>

* gst/gsttag.c: (_gst_tag_initialize):
* gst/gsttag.h:
Add application tag (for encoding/muxing app).

ChangeLog
common
gst/gsttag.c
gst/gsttag.h
gst/gsttaglist.c
gst/gsttaglist.h

index d481ea5..8fb8296 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-23  Ronald Bultje  <rbultje@ronald.bitfreak.net>
+
+       * gst/gsttag.c: (_gst_tag_initialize):
+       * gst/gsttag.h:
+         Add application tag (for encoding/muxing app).
+
 2004-01-23  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * autogen.sh:
diff --git a/common b/common
index c81ad07..0bcde34 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit c81ad072c76522175cbddead96d6f3c448068d67
+Subproject commit 0bcde342015b96d9a6ba3b9d9102e2a543399d96
index 25acc8b..e0bbed0 100644 (file)
@@ -142,8 +142,13 @@ _gst_tag_initialize (void)
                    _("performer"),
                    _("person(s) performing"),
                    gst_tag_merge_strings_with_comma);
-  gst_tag_register (GST_TAG_DURATION,
-                   G_TYPE_UINT64, GST_TAG_FLAG_DECODED,
+  gst_tag_register (GST_TAG_APPLICATION, GST_TAG_FLAG_META,
+                   G_TYPE_STRING,
+                   _("application"),
+                   _("application that wrote the stream"),
+                   gst_tag_merge_strings_with_comma);
+  gst_tag_register (GST_TAG_DURATION, GST_TAG_FLAG_DECODED,
+                   G_TYPE_UINT64,
                    _("duration"),
                    _("length in GStreamer time units (nanoseconds)"),
                    NULL);
index 1be5984..37d45d1 100644 (file)
@@ -240,6 +240,7 @@ GstTagList *        gst_event_tag_get_list          (GstEvent *             tag_event);
 #define GST_TAG_CONTACT                        "contact"
 #define GST_TAG_LICENSE                        "license"
 #define GST_TAG_PERFORMER              "performer"
+#define GST_TAG_APPLICATION             "application"
 #define GST_TAG_DURATION               "duration"
 #define GST_TAG_CODEC                  "codec"
 #define GST_TAG_BITRATE                        "bitrate"
index 25acc8b..e0bbed0 100644 (file)
@@ -142,8 +142,13 @@ _gst_tag_initialize (void)
                    _("performer"),
                    _("person(s) performing"),
                    gst_tag_merge_strings_with_comma);
-  gst_tag_register (GST_TAG_DURATION,
-                   G_TYPE_UINT64, GST_TAG_FLAG_DECODED,
+  gst_tag_register (GST_TAG_APPLICATION, GST_TAG_FLAG_META,
+                   G_TYPE_STRING,
+                   _("application"),
+                   _("application that wrote the stream"),
+                   gst_tag_merge_strings_with_comma);
+  gst_tag_register (GST_TAG_DURATION, GST_TAG_FLAG_DECODED,
+                   G_TYPE_UINT64,
                    _("duration"),
                    _("length in GStreamer time units (nanoseconds)"),
                    NULL);
index 1be5984..37d45d1 100644 (file)
@@ -240,6 +240,7 @@ GstTagList *        gst_event_tag_get_list          (GstEvent *             tag_event);
 #define GST_TAG_CONTACT                        "contact"
 #define GST_TAG_LICENSE                        "license"
 #define GST_TAG_PERFORMER              "performer"
+#define GST_TAG_APPLICATION             "application"
 #define GST_TAG_DURATION               "duration"
 #define GST_TAG_CODEC                  "codec"
 #define GST_TAG_BITRATE                        "bitrate"