Try to use source_path consistently

This commit is contained in:
Wim Taymans 2015-07-09 17:58:54 +02:00
parent 1e4e4ef185
commit f268cdfda6
8 changed files with 28 additions and 28 deletions

View file

@ -88,7 +88,7 @@ gst_pinos_device_create_element (GstDevice * device, const gchar * name)
GstElement *elem;
elem = gst_element_factory_make (pinos_dev->element, name);
g_object_set (elem, "source", pinos_dev->path, NULL);
g_object_set (elem, "path", pinos_dev->path, NULL);
return elem;
}
@ -108,7 +108,7 @@ gst_pinos_device_reconfigure_element (GstDevice * device, GstElement * element)
g_assert_not_reached ();
}
g_object_set (element, "source", pinos_dev->path, NULL);
g_object_set (element, "path", pinos_dev->path, NULL);
return TRUE;
}