[gstreamer-bugs] [Bug 519906] New: [API] add GstMixerOptions::get_values vfunc

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Mar 2 06:20:56 PST 2008


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

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: [API] add GstMixerOptions::get_values vfunc
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: t.i.m at zen.co.uk
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


I'd like to add a GstMixerOptions::get_values() vfunc so GstMixerOption
subclasses can implement/override gst_mixer_options_get_values(), which just
returns mixeroptions->values.

This is needed/useful for mixer options whose list of available or currently
selectable options can change throughout the life time of an object (as may be
the case with OSS4).

Since the entire mixer API isn't thread-safe at all, mixer options
implementation can't just change the GList *values member of the structure
(even less so from a different thread that watches on an fd for changes).
However, it would probably be fairly safe to do from within a _get_values()
call from the application. For this, the implementation needs to be able to
override gst_mixer_options_get_values().


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




More information about the Gstreamer-bugs mailing list