[Bug 645167] [xmp] Add a new XmpConfig interface

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 28 09:24:02 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=645167
  GStreamer | gst-plugins-base | unspecified

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |t.i.m at zen.co.uk
     Ever Confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2011-03-28 16:23:57 UTC ---

 - not so keen on making libgstinterfaces depend on libgsttag. That
   kind of defeats the purpose of libgstinterfaces. Why not just add
   this to libgsttag directly? It's also more discoverable there with
   the rest of the XMP stuff, IMHO. We have interfaces in other
   libraries too (e.g. GstRtspExtension in libgstrtsp).

 - I'm not fully convinced that the hash table in GstXmpConfigData
   is the right data structure for the job, but since it's 100% internal
   it doesn't hurt, I guess

 - there's no interface vfunc to get a list of supported schemas for
   that particular object. Am I correct in assuming that's not needed
   because all XMP writers will always support all schemas supported
   by libgsttag? (ie. it's not that some schemas don't make sense for
   certain elements)

 - not sure what to think about the name (GstXmpConfig), if maybe
   GstTagXmpWriter or so wouldn't be nicer.

 - dislike the GList * argument in:

       gst_tag_list_to_xmp_buffer_full (const GstTagList * list,
               gboolean read_only, GList * schemas);

    why not a const gchar ** or even a simple const gchar *
    (e.g. comma-separated list of schemas to use)? (see below)

 - The config API per se looks ok, but I was wondering if it
   actually reflects the envisaged use cases. In case of an
   application using this interface to configure the xmp
   writer to only use certain schemas: does the app usually
   know in advance which schemas it wants (whitelist), or
   does it know which ones it wants to disable (blacklist),
   or does it just build things via add/remove from an empty
   slate or the default list? If it's the first, some simple
   set_schemas (writer, "schema1, schema2"); might
   almost be sufficient :)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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