API: add GST_TAG_PREVIEW_IMAGE (#343341).
authorTim-Philipp Müller <tim@centricular.net>
Tue, 30 May 2006 10:12:02 +0000 (10:12 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 30 May 2006 10:12:02 +0000 (10:12 +0000)
Original commit message from CVS:
* docs/gst/gstreamer-sections.txt:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_PREVIEW_IMAGE (#343341).

ChangeLog
docs/gst/gstreamer-sections.txt
gst/gsttaglist.c
gst/gsttaglist.h

index 01b5c52..58e0bf8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-05-30  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * docs/gst/gstreamer-sections.txt:
+       * gst/gsttaglist.c: (_gst_tag_initialize):
+       * gst/gsttaglist.h:
+         API: add GST_TAG_PREVIEW_IMAGE (#343341).
+
 2006-05-30  Wim Taymans  <wim@fluendo.com>
 
        Patch by: Alessandro Decina <alessandro at nnva dot org>
index e5aa97e..0dea5f5 100644 (file)
@@ -1798,6 +1798,7 @@ GST_TAG_ALBUM_GAIN
 GST_TAG_ALBUM_PEAK
 GST_TAG_LANGUAGE_CODE
 GST_TAG_IMAGE
+GST_TAG_PREVIEW_IMAGE
 
 gst_tag_register
 gst_tag_merge_use_first
index 23a00c6..48246d9 100644 (file)
@@ -202,6 +202,8 @@ _gst_tag_initialize (void)
       _("language code for this stream, conforming to ISO-639-1"), NULL);
   gst_tag_register (GST_TAG_IMAGE, GST_TAG_FLAG_META, GST_TYPE_BUFFER,
       _("image"), _("image related to this stream"), NULL);
+  gst_tag_register (GST_TAG_PREVIEW_IMAGE, GST_TAG_FLAG_META, GST_TYPE_BUFFER,
+      _("preview image"), _("preview image related to this stream"), NULL);
 }
 
 /**
index 17709ac..44a6afd 100644 (file)
@@ -496,6 +496,15 @@ gboolean        gst_tag_list_get_date_index     (const GstTagList     * list,
  * Since: 0.10.6
  */
 #define GST_TAG_IMAGE                "image"
+/**
+ * GST_TAG_PREVIEW_IMAGE:
+ *
+ * image that is meant for preview purposes (buffer)
+ * (buffer caps should specify the content type)
+ *
+ * Since: 0.10.7
+ */
+#define GST_TAG_PREVIEW_IMAGE        "preview-image"
 
 G_END_DECLS