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/law | |
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/law')
-rw-r--r-- | gst/law/alaw.c | 1 | ||||
-rw-r--r-- | gst/law/mulaw.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gst/law/alaw.c b/gst/law/alaw.c index d168b077..f340d137 100644 --- a/gst/law/alaw.c +++ b/gst/law/alaw.c @@ -66,6 +66,7 @@ plugin_init (GModule *module, GstPlugin *plugin) alawdec_factory = gst_element_factory_new("alawdec",GST_TYPE_ALAWDEC, &alawdec_details); g_return_val_if_fail(alawdec_factory != NULL, FALSE); + gst_element_factory_set_rank (alawdec_factory, GST_ELEMENT_RANK_PRIMARY); alaw_caps = alaw_factory (); linear_caps = linear_factory (); diff --git a/gst/law/mulaw.c b/gst/law/mulaw.c index 86bbfea3..387d271f 100644 --- a/gst/law/mulaw.c +++ b/gst/law/mulaw.c @@ -66,6 +66,7 @@ plugin_init (GModule *module, GstPlugin *plugin) mulawdec_factory = gst_element_factory_new("mulawdec",GST_TYPE_MULAWDEC, &mulawdec_details); g_return_val_if_fail(mulawdec_factory != NULL, FALSE); + gst_element_factory_set_rank (mulawdec_factory, GST_ELEMENT_RANK_PRIMARY); mulaw_caps = mulaw_factory (); linear_caps = linear_factory (); |