mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
pad: use correct variable in test
This commit is contained in:
parent
e4ee7831e3
commit
12f9b39fac
1 changed files with 1 additions and 1 deletions
|
@ -3713,7 +3713,7 @@ gst_pad_load_and_link (xmlNodePtr self, GstObject * parent)
|
|||
goto cleanup;
|
||||
|
||||
targetpad = gst_element_get_static_pad (target, split[1]);
|
||||
if (!pad)
|
||||
if (!targetpad)
|
||||
targetpad = gst_element_get_request_pad (target, split[1]);
|
||||
|
||||
if (targetpad == NULL)
|
||||
|
|
Loading…
Reference in a new issue