mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
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:
parent
5d495664bc
commit
e375bac9f2
3 changed files with 17 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue