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 | afd592b0668323915425ce0b6302bccaa20dabbe (patch) | |
| tree | 575df485040f6b154ada5b6154ecdef2cec5c4be /gst/avi | |
| parent | 38b9027f8ca79d145422d6e36a47d12885d34a3d (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 'gst/avi')
| -rw-r--r-- | gst/avi/gstaviaudiodecoder.c | 1 | ||||
| -rw-r--r-- | gst/avi/gstavidemux.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/avi/gstaviaudiodecoder.c b/gst/avi/gstaviaudiodecoder.c index d3b09b1f..2fe801a0 100644 --- a/gst/avi/gstaviaudiodecoder.c +++ b/gst/avi/gstaviaudiodecoder.c @@ -177,6 +177,7 @@ plugin_init (GModule *module, GstPlugin *plugin) factory = gst_element_factory_new ("aviaudiodecoder",GST_TYPE_AVI_AUDIO_DECODER, &gst_avi_audio_decoder_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_audio_templ)); diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c index 77bbcefd..0ee9dc0c 100644 --- a/gst/avi/gstavidemux.c +++ b/gst/avi/gstavidemux.c @@ -1278,6 +1278,7 @@ plugin_init (GModule *module, GstPlugin *plugin) factory = gst_element_factory_new ("avidemux",GST_TYPE_AVI_DEMUX, &gst_avi_demux_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 (src_audio_templ)); gst_element_factory_add_pad_template (factory, GST_PAD_TEMPLATE_GET (src_video_templ)); |
