summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/faac/gstfaac.c3
-rw-r--r--ext/mpeg2enc/gstmpeg2enc.cc2
-rw-r--r--ext/x264/gstx264enc.c2
-rw-r--r--gst/flv/gstflvdemux.c2
-rw-r--r--gst/mxf/mxf.c3
-rw-r--r--gst/qtmux/gstqtmux.c2
6 files changed, 8 insertions, 6 deletions
diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c
index 638e65b1..0dc8a42a 100644
--- a/ext/faac/gstfaac.c
+++ b/ext/faac/gstfaac.c
@@ -806,7 +806,8 @@ gst_faac_change_state (GstElement * element, GstStateChange transition)
static gboolean
plugin_init (GstPlugin * plugin)
{
- return gst_element_register (plugin, "faac", GST_RANK_NONE, GST_TYPE_FAAC);
+ return gst_element_register (plugin, "faac", GST_RANK_SECONDARY,
+ GST_TYPE_FAAC);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
diff --git a/ext/mpeg2enc/gstmpeg2enc.cc b/ext/mpeg2enc/gstmpeg2enc.cc
index 21be81fb..64008b16 100644
--- a/ext/mpeg2enc/gstmpeg2enc.cc
+++ b/ext/mpeg2enc/gstmpeg2enc.cc
@@ -717,7 +717,7 @@ plugin_init (GstPlugin * plugin)
mjpeg_default_handler_verbosity (0);
return gst_element_register (plugin, "mpeg2enc",
- GST_RANK_NONE, GST_TYPE_MPEG2ENC);
+ GST_RANK_SECONDARY, GST_TYPE_MPEG2ENC);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
diff --git a/ext/x264/gstx264enc.c b/ext/x264/gstx264enc.c
index 37f53cce..fcafdd3d 100644
--- a/ext/x264/gstx264enc.c
+++ b/ext/x264/gstx264enc.c
@@ -1303,7 +1303,7 @@ plugin_init (GstPlugin * plugin)
"h264 encoding element");
return gst_element_register (plugin, "x264enc",
- GST_RANK_NONE, GST_TYPE_X264_ENC);
+ GST_RANK_PRIMARY, GST_TYPE_X264_ENC);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index f31a22e8..5856e7ac 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -1311,7 +1311,7 @@ plugin_init (GstPlugin * plugin)
if (!gst_element_register (plugin, "flvdemux", GST_RANK_PRIMARY,
gst_flv_demux_get_type ()) ||
- !gst_element_register (plugin, "flvmux", GST_RANK_NONE,
+ !gst_element_register (plugin, "flvmux", GST_RANK_PRIMARY,
gst_flv_mux_get_type ()))
return FALSE;
diff --git a/gst/mxf/mxf.c b/gst/mxf/mxf.c
index c1a0a716..7469317c 100644
--- a/gst/mxf/mxf.c
+++ b/gst/mxf/mxf.c
@@ -71,7 +71,8 @@ plugin_init (GstPlugin * plugin)
if (!gst_element_register (plugin, "mxfdemux", GST_RANK_PRIMARY,
GST_TYPE_MXF_DEMUX) ||
- !gst_element_register (plugin, "mxfmux", GST_RANK_NONE, GST_TYPE_MXF_MUX))
+ !gst_element_register (plugin, "mxfmux", GST_RANK_PRIMARY,
+ GST_TYPE_MXF_MUX))
return FALSE;
return TRUE;
diff --git a/gst/qtmux/gstqtmux.c b/gst/qtmux/gstqtmux.c
index f3e85f5c..b0df9d71 100644
--- a/gst/qtmux/gstqtmux.c
+++ b/gst/qtmux/gstqtmux.c
@@ -1886,7 +1886,7 @@ gst_qt_mux_register (GstPlugin * plugin)
g_type_set_qdata (type, GST_QT_MUX_PARAMS_QDATA, (gpointer) params);
g_type_add_interface_static (type, GST_TYPE_TAG_SETTER, &tag_setter_info);
- if (!gst_element_register (plugin, prop->name, GST_RANK_NONE, type))
+ if (!gst_element_register (plugin, prop->name, GST_RANK_PRIMARY, type))
return FALSE;
i++;