mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
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:
parent
f0705fae7a
commit
8087b55e47
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue