summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--omx/gstomx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/omx/gstomx.c b/omx/gstomx.c
index c444de5..ee5c081 100644
--- a/omx/gstomx.c
+++ b/omx/gstomx.c
@@ -238,7 +238,7 @@ plugin_init (GstPlugin * plugin)
const gchar *element_name = gst_structure_nth_field_name (element_table, i);
GstStructure *element = get_element_entry (element_name);
const gchar *type_name, *parent_type_name;
- const gchar *component_name, *component_role, *library_name;
+ const gchar *component_name, *library_name;
GType type;
gint rank;
@@ -248,7 +248,6 @@ plugin_init (GstPlugin * plugin)
parent_type_name = gst_structure_get_string (element, "parent-type");
type_name = gst_structure_get_string (element, "type");
component_name = gst_structure_get_string (element, "component-name");
- component_role = gst_structure_get_string (element, "component-role");
library_name = gst_structure_get_string (element, "library-name");
if (!type_name || !component_name || !library_name) {