Add support for the 'Requirement' and 'Encoder' tags
authorEdward Hervey <bilboed@bilboed.com>
Fri, 30 Jan 2009 14:34:31 +0000 (15:34 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 30 Jan 2009 14:34:31 +0000 (15:34 +0100)
gst/qtdemux/qtdemux.c
gst/qtdemux/qtdemux_fourcc.h
gst/qtdemux/qtdemux_types.c

index 23bf714e8ff001c693d332822c39a3a37798635f..c54ef39d8b729e7e145b8198903c36f1e6cc0f67 100644 (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
index ca0b463a5535150cd8d25c42be1752e5f31fa63f..d5ab3d11b0c37c13850675dedc1ba21d39a0680c 100644 (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')
index a0e4513da315d5ebdd43961cd8501ffea5d30493..d5bcf1bd5f8a3a63e86d9f416eedbf19fb705243 100644 (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,},