gst/gsttaglist.*: API: add GST_TAG_IMAGE tag (#340721).

Original commit message from CVS:
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_IMAGE tag (#340721).
This commit is contained in:
Tim-Philipp Müller 2006-05-09 10:02:51 +00:00
parent 5d495664bc
commit e375bac9f2
3 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
* gst/gsttaglist.c: (_gst_tag_initialize):
* gst/gsttaglist.h:
API: add GST_TAG_IMAGE tag (#340721).
2006-05-08 Wim Taymans <wim@fluendo.com>
* gst/gstquery.c:

View file

@ -37,6 +37,7 @@
#include "gsttaglist.h"
#include "gstinfo.h"
#include "gstvalue.h"
#include "gstbuffer.h"
#include <gobject/gvaluecollector.h>
#include <string.h>
@ -199,6 +200,8 @@ _gst_tag_initialize (void)
gst_tag_register (GST_TAG_LANGUAGE_CODE, GST_TAG_FLAG_META, G_TYPE_STRING,
_("language code"),
_("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);
}
/**

View file

@ -488,6 +488,14 @@ gboolean gst_tag_list_get_date_index (const GstTagList * list,
* Language code (ISO-639-1) (string)
*/
#define GST_TAG_LANGUAGE_CODE "language-code"
/**
* GST_TAG_IMAGE:
*
* image (buffer) (buffer caps should specify the content type)
*
* Since: 0.10.6
*/
#define GST_TAG_IMAGE "image"
G_END_DECLS