[Bug 748233] Add support for a format-specifier to GstObject names for uniqueness

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 21 04:05:55 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
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
 Attachment #302051|none                        |needs-work
             status|                            |

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Comment on attachment 302051
  --> https://bugzilla.gnome.org/attachment.cgi?id=302051
gstobject: Add support for a format-specifier suffix

I think this is a nice idea and would be useful to have.

Two comments:

 - gst_object_set_name_numbered() and _set_name_default()
   share 90% of the code. Perhaps that datalist thing
   could be refactored into a shared internal utility
   function (pass quark + ..) ?

 - is there a reason to mandate the hyphen in the suffix
   rather than just check for %u ?

-- 
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