From b2f17781ac188111c95528fd8250883fd1ca6183 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 30 Jan 2009 15:34:31 +0100 Subject: [PATCH] Add support for the 'Requirement' and 'Encoder' tags --- gst/qtdemux/qtdemux.c | 3 ++- gst/qtdemux/qtdemux_fourcc.h | 2 ++ gst/qtdemux/qtdemux_types.c | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 23bf714e8f..c54ef39d8b 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -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 diff --git a/gst/qtdemux/qtdemux_fourcc.h b/gst/qtdemux/qtdemux_fourcc.h index ca0b463a55..d5ab3d11b0 100644 --- a/gst/qtdemux/qtdemux_fourcc.h +++ b/gst/qtdemux/qtdemux_fourcc.h @@ -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') diff --git a/gst/qtdemux/qtdemux_types.c b/gst/qtdemux/qtdemux_types.c index a0e4513da3..d5bcf1bd5f 100644 --- a/gst/qtdemux/qtdemux_types.c +++ b/gst/qtdemux/qtdemux_types.c @@ -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,},