mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
tests: avimux: adjust to modified sink pad template name
This commit is contained in:
parent
43ceadb0df
commit
e94f68fd6b
1 changed files with 1 additions and 2 deletions
|
@ -90,9 +90,8 @@ teardown_src_pad (GstElement * element, const gchar * sinkname)
|
|||
gchar *padname;
|
||||
|
||||
/* clean up floating src pad */
|
||||
/* hm, avimux uses _00 as suffixes for padnames */
|
||||
padname = g_strdup (sinkname);
|
||||
memcpy (strchr (padname, '%'), "00", 2);
|
||||
memcpy (strchr (padname, '%'), "0", 2);
|
||||
if (!(sinkpad = gst_element_get_static_pad (element, padname)))
|
||||
sinkpad = gst_element_get_request_pad (element, padname);
|
||||
g_free (padname);
|
||||
|
|
Loading…
Reference in a new issue