diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index 20882124c7..5ea48c45c5 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -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 diff --git a/gst/gsttaglist.c b/gst/gsttaglist.c index 52b64466a9..857126769e 100644 --- a/gst/gsttaglist.c +++ b/gst/gsttaglist.c @@ -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); } /** diff --git a/gst/gsttaglist.h b/gst/gsttaglist.h index 995cb59e07..75aa6f70bf 100644 --- a/gst/gsttaglist.h +++ b/gst/gsttaglist.h @@ -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