Commit e94f68fd authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

tests: avimux: adjust to modified sink pad template name

parent 43ceadb0
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment