summaryrefslogtreecommitdiff
path: root/gst/mxf/mxf.c
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-03-11 19:32:16 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-03-21 10:19:47 +0100
commite50039897b9550ff01901069cb17e923760c8600 (patch)
tree1c6d0ad6f2777d36403adc70695ec6ba25a180fe /gst/mxf/mxf.c
parent86719f194f17773979913e21cb0629c3eba06c05 (diff)
downloadgstreamer-plugins-bad-e50039897b9550ff01901069cb17e923760c8600.tar.gz
mxf: Add MXF muxer
This muxer currently only supports OP1a and is probably not yet 100% complying to the standards.
Diffstat (limited to 'gst/mxf/mxf.c')
-rw-r--r--gst/mxf/mxf.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gst/mxf/mxf.c b/gst/mxf/mxf.c
index ec477721b..a906f1d85 100644
--- a/gst/mxf/mxf.c
+++ b/gst/mxf/mxf.c
@@ -24,6 +24,7 @@
#include "mxfquark.h"
#include "mxfdemux.h"
+#include "mxfmux.h"
#include "mxfaes-bwf.h"
#include "mxfmpeg.h"
#include "mxfdv-dif.h"
@@ -53,6 +54,8 @@ mxf_init (void)
static gboolean
plugin_init (GstPlugin * plugin)
{
+ GST_DEBUG_CATEGORY_INIT (mxf_debug, "mxf", 0, "MXF");
+
mxf_init ();
mxf_quark_initialize ();
mxf_metadata_init_types ();
@@ -67,11 +70,10 @@ plugin_init (GstPlugin * plugin)
mxf_dms1_initialize ();
if (!gst_element_register (plugin, "mxfdemux", GST_RANK_PRIMARY,
- GST_TYPE_MXF_DEMUX))
+ GST_TYPE_MXF_DEMUX) ||
+ !gst_element_register (plugin, "mxfmux", GST_RANK_NONE, GST_TYPE_MXF_MUX))
return FALSE;
- GST_DEBUG_CATEGORY_INIT (mxf_debug, "mxf", 0, "MXF");
-
return TRUE;
}