[gstreamer-bugs] [Bug 573370] camerabin api improvements

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Feb 27 07:04:15 PST 2009


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

  GStreamer | gst-plugins-bad | Ver: git

Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk




------- Comment #1 from Tim-Philipp Müller  2009-02-27 15:04 UTC -------
Yes, please. No GStrings in API.

Random other comments on the API (only had a *very* quick glance):

 - don't use abbreviations, ie. "img-done" => "image-done",
   "res" => "resolution" (also "enc", "pp", "src", "mux" etc.)

 - separate words in property names with a dash, ie.
   "audioenc" => "audio-encoder", "inputcaps" => "input-caps"

 - nicer names for the action signals would be nice
   (no "user-" prefix please, use imperatives: do-this etc.)

 - mix of setting stuff via properties and other stuff via
   action signals is a bit weird (although I do understand
   why you do it).

 - further to the above: how about (just an idea) combining
   the "start" + "set-res[+fps]" action signals and the
   "mode" property. Then you'd get something like:

     - action "start-video-recording" (with resolution + fps args)

     - action "start-image-capture" (with resolution arg)

   which would set the mode automatically (or warn if a new
   start-foo was called without a corresponding stop-foo first).

 - maybe "img-done"/"image-done" should be a message on the bus?


-- 
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=573370.




More information about the Gstreamer-bugs mailing list