[Bug 748233] GstObject: add support for setting uniquely numbered names for simplicity, e.g. videoqueue-%u

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue May 26 11:06:24 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=748233

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Add support for a           |GstObject: add support for
                   |format-specifier to         |setting uniquely numbered
                   |GstObject names for         |names for simplicity, e.g.
                   |uniqueness                  |videoqueue-%u

--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
A simple unit test that exercises this new code path would be nice IMO.

This

suffix_index = (int) (g_strrstr (name, "%u") - name) - 1;

could probably be simplified based on strlen() and the previous has_suffix()
check?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list