[gstreamer-bugs] [Bug 547525] alsasrc and alsamixer incorrectly report that GstPropertyProbe is not supported

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed Aug 13 07:02:07 PDT 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=547525

  GStreamer | gst-plugins-base | Ver: HEAD CVS




------- Comment #3 from Laszlo Pandy  2008-08-13 14:02 UTC -------
How is one supposed to check if GstPropertyProbe is available? I came across
the abort problem because I wanted to be able to give my users the ability to
switch between "alsasrc" and "pulsesrc" or any other source for that matter.

I would create the element, and then check if it supports GstPropertyProbe
before querying for the available device names. I guess if I am using Python I
can do hasattr(src, "probe_property_name"), but this isn't the right way to do
it, and there has got to be a way to check for this in C code as well.


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




More information about the Gstreamer-bugs mailing list