[gst-devel] G_PARAM_FLAGS mode & addition.

ensonic ensonic at hora-obscura.de
Fri Feb 2 11:58:40 CET 2007


Hi,

On 8:40:43 pm 01/02/2007 René  Stadler <mail at renestadler.de> wrote:
..
> >  /**
> >   * GST_PARAM_EDITABLE:
> >   *
> >   * Use this flag on GstElement properties that are user editable
> >   (can appear * in a UI as an option).
> >   */
> >  #define    GST_PARAM_EDITABLE    (1 << (G_PARAM_USER_SHIFT + 2))
> >
> >  Some examples (my opinion):
> >  name, sync, qos: this is stuff that the application handles.
> >  buffer-time, latency-time : something a user could use to
> configure a plugin
>
> I must say that this distinction seems arbitrary.  One could argue
> that "sync" belongs to the user visible case sometimes, while
> "buffer-time" should be hidden from the user in some contexts.  It
> seems hard to draw a line anywhere.

I belive that classifying a parameter as editable or not needs normal
common sense like the decission wheter to expose a parameter or not. For
the above example I say that e.g. sync=true/false is mostly determined by
what the application does.

>
> --
> Regards,
>   René Stadler

Stefan





More information about the gstreamer-devel mailing list