qtdemux: add tag mappings for _swr, _mak and _mod tags

swr -> Application name
mak -> device manufacturer
mod -> device model
This commit is contained in:
Thiago Santos 2014-05-23 03:00:50 -03:00
parent 0746bca190
commit f0b99d96a9
2 changed files with 8 additions and 0 deletions

View file

@ -304,6 +304,11 @@ G_BEGIN_DECLS
/* ilst metatags */
#define FOURCC__cmt GST_MAKE_FOURCC(0xa9, 'c','m','t')
/* apple tags */
#define FOURCC__mak GST_MAKE_FOURCC(0xa9, 'm','a','k')
#define FOURCC__mod GST_MAKE_FOURCC(0xa9, 'm','o','d')
#define FOURCC__swr GST_MAKE_FOURCC(0xa9, 's','w','r')
/* Chapters reference */
#define FOURCC_chap GST_MAKE_FOURCC('c','h','a','p')

View file

@ -9728,6 +9728,9 @@ static const struct
FOURCC_loci, GST_TAG_GEO_LOCATION_NAME, NULL, qtdemux_tag_add_location}, {
FOURCC_clsf, GST_QT_DEMUX_CLASSIFICATION_TAG, NULL,
qtdemux_tag_add_classification}, {
FOURCC__mak, GST_TAG_DEVICE_MANUFACTURER, NULL, qtdemux_tag_add_str}, {
FOURCC__mod, GST_TAG_DEVICE_MODEL, NULL, qtdemux_tag_add_str}, {
FOURCC__swr, GST_TAG_APPLICATION_NAME, NULL, qtdemux_tag_add_str}, {
/* This is a special case, some tags are stored in this
* 'reverse dns naming', according to: