API: add GST_TAG_PREVIEW_IMAGE (#343341).

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).
This commit is contained in:
Tim-Philipp Müller 2006-05-30 10:12:02 +00:00
parent fc62a6f511
commit 5fba3f8c44
4 changed files with 19 additions and 0 deletions

View file

@ -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>

View 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

View 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);
}
/**

View 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