summaryrefslogtreecommitdiffstats
path: root/gst/matroska/matroska.c
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-06-16 10:59:39 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-06-16 10:59:39 +0000
commit8c6d2c506a102109339347e039cb38a2047fef40 (patch)
tree852b6550c4685a3b072955c58f39e7d666926203 /gst/matroska/matroska.c
parent4710c0ab85cf8dba4c77b9659af2f38ee8a880cd (diff)
gst/matroska/: Parse Attachments and post them as GST_TAG_IMAGE if we detect it as image and otherwise as GST_TAG_ATT...
Original commit message from CVS: * gst/matroska/Makefile.am: * gst/matroska/matroska-demux.c: (gst_matroska_demux_reset), (gst_matroska_demux_parse_attached_file), (gst_matroska_demux_parse_attachments), (gst_matroska_demux_parse_contents_seekentry), (gst_matroska_demux_loop_stream_parse_id): * gst/matroska/matroska-demux.h: * gst/matroska/matroska-ids.c: (gst_matroska_register_tags): * gst/matroska/matroska-ids.h: * gst/matroska/matroska.c: (plugin_init): Parse Attachments and post them as GST_TAG_IMAGE if we detect it as image and otherwise as GST_TAG_ATTACHMENT. Include filename and description of the attachments in the caps. Fixes bug #537622.
Diffstat (limited to 'gst/matroska/matroska.c')
-rw-r--r--gst/matroska/matroska.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/matroska/matroska.c b/gst/matroska/matroska.c
index 5156ca57..5a74c6b5 100644
--- a/gst/matroska/matroska.c
+++ b/gst/matroska/matroska.c
@@ -25,10 +25,12 @@
#include "matroska-demux.h"
#include "matroska-mux.h"
+#include "matroska-ids.h"
static gboolean
plugin_init (GstPlugin * plugin)
{
+ gst_matroska_register_tags ();
return gst_matroska_demux_plugin_init (plugin) &&
gst_matroska_mux_plugin_init (plugin);
}