Tizen 2.0 Release
[framework/multimedia/gst-openmax.git] / omx / gstomx.c
index 7172077..12019e4 100644 (file)
@@ -104,6 +104,7 @@ gst_omx_volume_get_type,};
 static gchar *
 get_config_path (void)
 {
+/* MODIFICATION */
 #if 1     /* Fix_config_path */
   return g_build_filename (OMX_CONFIG_DIRPATH, OMX_CONFIG_FILENAME, NULL);
 #else
@@ -242,7 +243,8 @@ 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;
+//    const gchar *component_role;
     GType type;
     gint rank;
 
@@ -252,7 +254,7 @@ 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");
+//    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) {