The previous implementation was a bit primitive, assuming the subclass had registered a template name starting with sink_ . Instead make the effort of parsing the actual template name, and use that to generate the final pad name. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4032>