[gstreamer-bugs] [Bug 483250] [0.11] GstURIHandler should use interface properties instead of (or additional to) get/set methods

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Oct 5 12:08:26 PDT 2007


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=483250

  GStreamer | gstreamer (core) | Ver: HEAD CVS

René Stadler changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mail at renestadler.de




------- Comment #2 from René Stadler  2007-10-05 19:08 UTC -------
It would mean that all elements implementing GstURIHandler would have a common
standard property that stores the URI.  This one should most probably be named
"uri", but this means that all elements that already have a "location" property
grow another property that does exactly the same.

I love this idea (for 0.11); it seems to bring the best of everything:

 - The inability of setting the URI from a launch line is resolved elegantly. 
>From time to time, people request that a property to set the URI is added to
element XY because of this.  You know something is wrong with the design if you
find yourself being on both sides (for and against this) in different cases
(note how I gave the gio elements location properties, while I'm otherwise
stricly against this, eeek).

 - Generated UIs for property manipulation lose redundancy (Stefan's remark). 
This is because apps will know exactly that the "uri" property is from the
interface, which means they can hide it if they set the URI elsewhere and they
can drop special handling of the URIHandler interface (which you need for
0.10).

 - Unless elements explicitely override the details of the param spec, the
"uri" property of all URIHandlers will have a consistent description
automatically.

I think doing this for 0.10 already (with the property named "location"
instead) causes more problems than it solves.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=483250.




More information about the Gstreamer-bugs mailing list