mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 01:31:03 +00:00
Documentation patch indicating that factory information may be overridden after a plugin is loaded (#308766).
Original commit message from CVS: Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net> * docs/manual/advanced-autoplugging.xml: * gst/gstelementfactory.c: Documentation patch indicating that factory information may be overridden after a plugin is loaded (#308766).
This commit is contained in:
parent
e432dec218
commit
8b56fbac5f
3 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,12 @@
|
|||
2005-06-23 Akos Maroy <darkeye@tyrell.hu>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* docs/manual/advanced-autoplugging.xml:
|
||||
* gst/gstelementfactory.c:
|
||||
Documentation patch indicating that factory information may
|
||||
be overridden after a plugin is loaded (#308766).
|
||||
|
||||
2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gstcaps.c: (gst_caps_from_string_inplace):
|
||||
|
|
|
@ -418,12 +418,14 @@ try_to_plug (GstPad *pad,
|
|||
res = gst_caps_intersect (caps, templ->caps);
|
||||
if (res && !gst_caps_is_empty (res)) {
|
||||
GstElement *element;
|
||||
const gchar *name_template = g_strdup (templ->name_template);
|
||||
|
||||
/* close link and return */
|
||||
gst_caps_free (res);
|
||||
element = gst_element_factory_create (factory, NULL);
|
||||
close_link (pad, element, templ->name_template,
|
||||
close_link (pad, element, name_template,
|
||||
gst_element_factory_get_pad_templates (factory));
|
||||
g_free (name_template);
|
||||
return;
|
||||
}
|
||||
gst_caps_free (res);
|
||||
|
|
|
@ -280,6 +280,9 @@ error:
|
|||
* Create a new element of the type defined by the given elementfactory.
|
||||
* It will be given the name supplied, since all elements require a name as
|
||||
* their first argument.
|
||||
* This call may invalidate properties of the factory it works on, so
|
||||
* make sure not to use any previously aquired properties of the factory
|
||||
* after the call.
|
||||
*
|
||||
* Returns: new #GstElement or NULL if the element couldn't be created
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue