mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
gst/qtdemux/: Add keyword tag support. Fixes #520694 for qtdemux.
Original commit message from CVS: * gst/qtdemux/qtdemux.c: * gst/qtdemux/qtdemux_fourcc.h: Add keyword tag support. Fixes #520694 for qtdemux.
This commit is contained in:
parent
aa7a44190e
commit
115636d6d6
3 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-08-04 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/qtdemux/qtdemux.c:
|
||||
* gst/qtdemux/qtdemux_fourcc.h:
|
||||
Add keyword tag support. Fixes #520694 for qtdemux.
|
||||
|
||||
2008-08-04 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/qtdemux/qtdemux.c:
|
||||
|
|
|
@ -4033,6 +4033,17 @@ qtdemux_parse_udta (GstQTDemux * qtdemux, GNode * udta)
|
|||
if (node) {
|
||||
qtdemux_tag_add_tmpo (qtdemux, GST_TAG_BEATS_PER_MINUTE, node);
|
||||
}
|
||||
|
||||
node = qtdemux_tree_get_child_by_type (ilst, FOURCC_keyw);
|
||||
if (node) {
|
||||
qtdemux_tag_add_str (qtdemux, GST_TAG_KEYWORDS, node);
|
||||
} else {
|
||||
node = qtdemux_tree_get_child_by_type (ilst, FOURCC_kywd);
|
||||
if (node) {
|
||||
qtdemux_tag_add_str (qtdemux, GST_TAG_KEYWORDS, node);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
typedef struct
|
||||
|
|
|
@ -130,6 +130,8 @@ G_BEGIN_DECLS
|
|||
#define FOURCC_url_ GST_MAKE_FOURCC('u','r','l',' ')
|
||||
#define FOURCC_frma GST_MAKE_FOURCC('f','r','m','a')
|
||||
#define FOURCC_ctts GST_MAKE_FOURCC('c','t','t','s')
|
||||
#define FOURCC_keyw GST_MAKE_FOURCC('k','e','y','w')
|
||||
#define FOURCC_kywd GST_MAKE_FOURCC('k','y','w','d')
|
||||
|
||||
/* Xiph fourcc */
|
||||
#define FOURCC_XiTh GST_MAKE_FOURCC('X','i','T','h')
|
||||
|
|
Loading…
Reference in a new issue