bugfix for gst_element_request_pad_by_name returning NULL even though a template was available

Original commit message from CVS:
bugfix for gst_element_request_pad_by_name returning NULL even though a template was available
This commit is contained in:
Benjamin Otte 2002-03-18 00:09:10 +00:00
parent f0705fae7a
commit 8087b55e47

View file

@ -719,6 +719,7 @@ gst_element_request_pad_by_name (GstElement *element, const gchar *name)
if (strstr (name, "%d")) {
templ = gst_element_get_padtemplate_by_name (element, name);
templ_found = (templ != NULL);
req_name = NULL;
} else {
list = gst_element_get_padtemplate_list(element);