summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2014-09-09 19:03:50 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2014-09-09 19:07:07 -0400
commit5d0a7ecdd461a6d5d0fa01e33424568ddd39b812 (patch)
tree3061ef33c024ed64882133a599dc53dcc0db6c38
parentaf1576d1e9432029d6a971dbfa050c65e3c6338a (diff)
v4l2transform: Don't rank it for now
This will prevent the converter to be picked automatically in case someone implement dynamic converter selection support. I'd like this to be ranked only for known device, as it's hard to be sure a device is a converter suited for general purpose. Re-negotiation is also needed before we can rank it. https://bugzilla.gnome.org/show_bug.cgi?id=733607
-rw-r--r--sys/v4l2/gstv4l2transform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/gstv4l2transform.c b/sys/v4l2/gstv4l2transform.c
index 4ccddbba7..f64553246 100644
--- a/sys/v4l2/gstv4l2transform.c
+++ b/sys/v4l2/gstv4l2transform.c
@@ -749,7 +749,7 @@ gst_v4l2_transform_register (GstPlugin * plugin, const gchar * basename,
type_name = g_strdup_printf ("v4l2%sconvert", basename);
subtype = g_type_register_static (type, type_name, &type_info, 0);
- gst_element_register (plugin, type_name, GST_RANK_PRIMARY + 1, subtype);
+ gst_element_register (plugin, type_name, GST_RANK_NONE, subtype);
g_free (type_name);