summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2009-01-30 15:34:31 +0100
committerEdward Hervey <bilboed@bilboed.com>2009-01-30 15:34:31 +0100
commitb2f17781ac188111c95528fd8250883fd1ca6183 (patch)
tree462ec970b741799b2babd811f79b5401d4d1bfd6 /gst
parent1af5a5d0017f95cc44f55c900c5985f9bb70259b (diff)
Add support for the 'Requirement' and 'Encoder' tags
Diffstat (limited to 'gst')
-rw-r--r--gst/qtdemux/qtdemux.c3
-rw-r--r--gst/qtdemux/qtdemux_fourcc.h2
-rw-r--r--gst/qtdemux/qtdemux_types.c2
3 files changed, 6 insertions, 1 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 23bf714e..c54ef39d 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 ca0b463a..d5ab3d11 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 a0e4513d..d5bcf1bd 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,},