Add support for the 'Requirement' and 'Encoder' tags

This commit is contained in:
Edward Hervey 2009-01-30 15:34:31 +01:00
parent 1af5a5d001
commit b2f17781ac
3 changed files with 6 additions and 1 deletions

View file

@ -4173,7 +4173,8 @@ static const struct
FOURCC_tmpo, GST_TAG_BEATS_PER_MINUTE, NULL, qtdemux_tag_add_tmpo}, {
FOURCC_covr, GST_TAG_PREVIEW_IMAGE, NULL, qtdemux_tag_add_covr}, {
FOURCC_kywd, GST_TAG_KEYWORDS, NULL, qtdemux_tag_add_str}, {
FOURCC_keyw, GST_TAG_KEYWORDS, NULL, qtdemux_tag_add_str}
FOURCC_keyw, GST_TAG_KEYWORDS, NULL, qtdemux_tag_add_str}, {
FOURCC__enc, GST_TAG_ENCODER, NULL, qtdemux_tag_add_str}
};
static void

View file

@ -87,6 +87,8 @@ G_BEGIN_DECLS
#define FOURCC__grp GST_MAKE_FOURCC(0xa9,'g','r','p')
#define FOURCC__alb GST_MAKE_FOURCC(0xa9,'a','l','b')
#define FOURCC__day GST_MAKE_FOURCC(0xa9,'d','a','y')
#define FOURCC__req GST_MAKE_FOURCC(0xa9,'r','e','q')
#define FOURCC__enc GST_MAKE_FOURCC(0xa9,'e','n','c')
#define FOURCC_cprt GST_MAKE_FOURCC('c','p','r','t')
#define FOURCC_gnre GST_MAKE_FOURCC('g','n','r','e')
#define FOURCC_disc GST_MAKE_FOURCC('d','i','s','c')

View file

@ -101,6 +101,8 @@ static const QtNodeType qt_node_types[] = {
{FOURCC__cpy, "Copyright", QT_FLAG_CONTAINER,},
{FOURCC__cmt, "Comment", QT_FLAG_CONTAINER,},
{FOURCC__des, "Description", QT_FLAG_CONTAINER,},
{FOURCC__req, "Requirement", QT_FLAG_CONTAINER,},
{FOURCC__enc, "Encoder", QT_FLAG_CONTAINER,},
{FOURCC_gnre, "Genre", QT_FLAG_CONTAINER,},
{FOURCC_trkn, "Track Number", QT_FLAG_CONTAINER,},
{FOURCC_disc, "Disc Number", QT_FLAG_CONTAINER,},