summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-06-13 18:46:36 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-06-13 18:46:36 +0000
commitdbe9f84ef502ab6e0404a658b428626f14aded16 (patch)
tree10294727386704c6f80e80eb1077d7e9c8ef9637 /ext
parent98ae5cb27092b0911c411564e6cbde2babb95309 (diff)
Set the rank so it can be autoplugged
Original commit message from CVS: Set the rank so it can be autoplugged
Diffstat (limited to 'ext')
-rw-r--r--ext/dv/gstdvdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c
index bb08cbbbb..580b83b53 100644
--- a/ext/dv/gstdvdec.c
+++ b/ext/dv/gstdvdec.c
@@ -468,6 +468,7 @@ plugin_init (GModule *module, GstPlugin *plugin)
factory = gst_element_factory_new("dvdec", GST_TYPE_DVDEC, &dvdec_details);
g_return_val_if_fail(factory != NULL, FALSE);
+ gst_element_factory_set_rank (factory, GST_ELEMENT_RANK_PRIMARY);
/* The pad templates can be easily generated from the factories above,
* and then added to the list of padtemplates for the elementfactory.
* Note that the generated padtemplates are stored in static global