mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
tags: Adds GST_TAG_DEVICE_MANUFACTURER and GST_TAG_DEVICE_MODEL
Adds those new tags to describe the device manufacturer and model used to create medias. API: GST_TAG_DEVICE_MANUFACTURER API: GST_TAG_DEVICE_MODEL Fixes #615941
This commit is contained in:
parent
62a37d79c9
commit
2cc0bcb798
3 changed files with 24 additions and 0 deletions
|
@ -2191,6 +2191,8 @@ GST_TAG_LYRICS
|
|||
GST_TAG_COMPOSER_SORTNAME
|
||||
GST_TAG_GROUPING
|
||||
GST_TAG_USER_RATING
|
||||
GST_TAG_DEVICE_MANUFACTURER
|
||||
GST_TAG_DEVICE_MODEL
|
||||
|
||||
gst_tag_register
|
||||
gst_tag_merge_use_first
|
||||
|
|
|
@ -327,6 +327,12 @@ _gst_tag_initialize (void)
|
|||
_("user rating"),
|
||||
_("Rating attributed by a user. The higher the rank, "
|
||||
"the more the user likes this media"), NULL);
|
||||
gst_tag_register (GST_TAG_DEVICE_MANUFACTURER, GST_TAG_FLAG_META,
|
||||
G_TYPE_STRING, _("device manufacturer"),
|
||||
_("Manufacturer of the device used to create this media"), NULL);
|
||||
gst_tag_register (GST_TAG_DEVICE_MODEL, GST_TAG_FLAG_META, G_TYPE_STRING,
|
||||
_("device model"),
|
||||
_("Model of the device used to create this media"), NULL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -889,6 +889,22 @@ gboolean gst_tag_list_get_buffer_index (const GstTagList * list,
|
|||
* Since: 0.10.29
|
||||
*/
|
||||
#define GST_TAG_USER_RATING "user-rating"
|
||||
/**
|
||||
* GST_TAG_DEVICE_MANUFACTURER:
|
||||
*
|
||||
* Manufacturer of the device used to create the media (string)
|
||||
*
|
||||
* Since: 0.10.30
|
||||
*/
|
||||
#define GST_TAG_DEVICE_MANUFACTURER "device-manufacturer"
|
||||
/**
|
||||
* GST_TAG_DEVICE_MODEL:
|
||||
*
|
||||
* Model of the device used to create the media (string)
|
||||
*
|
||||
* Since: 0.10.30
|
||||
*/
|
||||
#define GST_TAG_DEVICE_MODEL "device-model"
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue