diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-03-11 19:32:16 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-03-21 10:19:47 +0100 |
commit | e50039897b9550ff01901069cb17e923760c8600 (patch) | |
tree | 1c6d0ad6f2777d36403adc70695ec6ba25a180fe /gst/mxf/mxf.c | |
parent | 86719f194f17773979913e21cb0629c3eba06c05 (diff) | |
download | gst-plugins-bad-e50039897b9550ff01901069cb17e923760c8600.tar.gz gst-plugins-bad-e50039897b9550ff01901069cb17e923760c8600.tar.bz2 gst-plugins-bad-e50039897b9550ff01901069cb17e923760c8600.zip |
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.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gst/mxf/mxf.c b/gst/mxf/mxf.c index ec477721..a906f1d8 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; } |