summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorSteve Baker <steve@stevebaker.org>2002-05-31 08:24:31 +0000
committerSteve Baker <steve@stevebaker.org>2002-05-31 08:24:31 +0000
commitafd592b0668323915425ce0b6302bccaa20dabbe (patch)
tree575df485040f6b154ada5b6154ecdef2cec5c4be /ext
parent38b9027f8ca79d145422d6e36a47d12885d34a3d (diff)
add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't any...
Original commit message from CVS: add ranks only for plugins who participate in autoplugging. If you have a file that used to autoplug but doesn't anymore, then let me know or add a rank to the missing element.
Diffstat (limited to 'ext')
-rw-r--r--ext/flac/gstflac.c1
-rw-r--r--ext/jpeg/gstjpeg.c1
-rw-r--r--ext/mikmod/gstmikmod.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/ext/flac/gstflac.c b/ext/flac/gstflac.c
index 3ab527b2..c7bd3814 100644
--- a/ext/flac/gstflac.c
+++ b/ext/flac/gstflac.c
@@ -112,6 +112,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
dec = gst_element_factory_new("flacdec",GST_TYPE_FLACDEC,
&flacdec_details);
g_return_val_if_fail(dec != NULL, FALSE);
+ gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY);
/* register sink pads */
dec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
diff --git a/ext/jpeg/gstjpeg.c b/ext/jpeg/gstjpeg.c
index eec4a451..96c3b584 100644
--- a/ext/jpeg/gstjpeg.c
+++ b/ext/jpeg/gstjpeg.c
@@ -86,6 +86,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
dec = gst_element_factory_new("jpegdec",GST_TYPE_JPEGDEC,
&gst_jpegdec_details);
g_return_val_if_fail(dec != NULL, FALSE);
+ gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY);
/* register sink pads */
jpegdec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK,
diff --git a/ext/mikmod/gstmikmod.c b/ext/mikmod/gstmikmod.c
index 7511157a..a1231365 100644
--- a/ext/mikmod/gstmikmod.c
+++ b/ext/mikmod/gstmikmod.c
@@ -611,6 +611,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
factory = gst_element_factory_new("mikmod",GST_TYPE_MIKMOD,
&mikmod_details);
g_return_val_if_fail(factory != NULL, FALSE);
+ gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY);
gst_element_factory_add_pad_template (factory, mikmod_src_factory ());
gst_element_factory_add_pad_template (factory, mikmod_sink_factory ());