diff options
author | Steve Baker <steve@stevebaker.org> | 2002-05-31 08:24:31 +0000 |
---|---|---|
committer | Steve Baker <steve@stevebaker.org> | 2002-05-31 08:24:31 +0000 |
commit | 2e1042ebe84ca020d1baba789a68e688207fc0ba (patch) | |
tree | d8ec99dd1bc22191f9453970b9d22ffa49a28acd | |
parent | 9ebe4d23952ababd3031dc7f72ea693c6afe2a64 (diff) | |
download | gst-plugins-bad-2e1042ebe84ca020d1baba789a68e688207fc0ba.tar.gz gst-plugins-bad-2e1042ebe84ca020d1baba789a68e688207fc0ba.tar.bz2 gst-plugins-bad-2e1042ebe84ca020d1baba789a68e688207fc0ba.zip |
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.
-rw-r--r-- | ext/audiofile/gstafparse.c | 1 | ||||
-rw-r--r-- | ext/gsm/gstgsm.c | 1 | ||||
-rw-r--r-- | ext/hermes/gstcolorspace.c | 1 | ||||
-rw-r--r-- | gst/flx/gstflxdec.c | 1 | ||||
-rw-r--r-- | gst/modplug/gstmodplug.cc | 1 | ||||
-rw-r--r-- | gst/qtdemux/qtdemux.c | 1 | ||||
-rw-r--r-- | gst/rtjpeg/gstrtjpeg.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/ext/audiofile/gstafparse.c b/ext/audiofile/gstafparse.c index 5067ea1f..f0545f17 100644 --- a/ext/audiofile/gstafparse.c +++ b/ext/audiofile/gstafparse.c @@ -326,6 +326,7 @@ gst_afparse_plugin_init (GModule *module, GstPlugin *plugin) gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (afparse_src_factory)); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (afparse_sink_factory)); + gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); diff --git a/ext/gsm/gstgsm.c b/ext/gsm/gstgsm.c index 619b82ac..32225ff7 100644 --- a/ext/gsm/gstgsm.c +++ b/ext/gsm/gstgsm.c @@ -83,6 +83,7 @@ plugin_init (GModule *module, GstPlugin *plugin) dec = gst_element_factory_new("gsmdec",GST_TYPE_GSMDEC, &gst_gsmdec_details); g_return_val_if_fail(dec != NULL, FALSE); + gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY); /* register sink pads */ gsmdec_sink_template = gst_pad_template_new ("sink", GST_PAD_SINK, diff --git a/ext/hermes/gstcolorspace.c b/ext/hermes/gstcolorspace.c index 9cdaf3bb..68167e4a 100644 --- a/ext/hermes/gstcolorspace.c +++ b/ext/hermes/gstcolorspace.c @@ -561,6 +561,7 @@ plugin_init (GModule *module, GstPlugin *plugin) factory = gst_element_factory_new ("colorspace", GST_TYPE_COLORSPACE, &colorspace_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, GST_PAD_TEMPLATE_GET (colorspace_src_template_factory)); diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 1354139d..1bb56035 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -685,6 +685,7 @@ plugin_init (GModule *module, GstPlugin *plugin) factory = gst_element_factory_new("flxdec", GST_TYPE_FLXDEC, &flxdec_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, GST_PAD_TEMPLATE_GET (sink_factory)); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_video_factory)); diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index d12123ac..d21a55bb 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -550,6 +550,7 @@ plugin_init (GModule *module, GstPlugin *plugin) factory = gst_element_factory_new("modplug",GST_TYPE_MODPLUG, &modplug_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, GST_PAD_TEMPLATE_GET (modplug_sink_template_factory)); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (modplug_src_template_factory)); diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index 968ed1ab..5ff04320 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -238,6 +238,7 @@ plugin_init (GModule *module, GstPlugin *plugin) factory = gst_element_factory_new("qtdemux",GST_TYPE_QTDEMUX, &gst_qtdemux_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, GST_PAD_TEMPLATE_GET (sink_templ)); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_video_templ)); diff --git a/gst/rtjpeg/gstrtjpeg.c b/gst/rtjpeg/gstrtjpeg.c index 649658f8..f42fac42 100644 --- a/gst/rtjpeg/gstrtjpeg.c +++ b/gst/rtjpeg/gstrtjpeg.c @@ -49,6 +49,7 @@ conversion utilities"); dec = gst_element_factory_new("rtjpegdec",GST_TYPE_RTJPEGDEC, &gst_rtjpegdec_details); g_return_val_if_fail(dec != NULL, FALSE); + gst_element_factory_set_rank (dec, GST_ELEMENT_RANK_PRIMARY); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (dec)); return TRUE; |