[gstreamer-bugs] [Bug 547523] New: alsasrc and alsamixer incorrectly report that GstPropertyProbe is not supported
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Aug 12 20:03:11 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=547523
GStreamer | gst-plugins-good | Ver: HEAD CVS
Summary: alsasrc and alsamixer incorrectly report that
GstPropertyProbe is not supported
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: laszlok2 at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
Using the implements interface method to check if alsasrc implements an
interface other than Mixer results in an Error and program termination. This is
despite the fact that alsasrc *does* support the PropertyProbe interface.
Using the same method to check if alsamixer supports an interface except Mixer
results in a critical assertion and a return value of false, even though
alsamixer also supports the PropertyProbe interface.
Steps to reproduce:
In a python shell:
>>> import gst
>>> aa = gst.element_factory_make("alsasrc")
>>> aa.implements_interface(gst.interfaces.PropertyProbe)
**
** ERROR:(gstalsasrc.c:162):gst_alsasrc_interface_supported: assertion failed:
(interface_type == GST_TYPE_MIXER)
Aborted
In a python shell:
>>> import gst
>>> am = gst.element_factory_make("alsamixer")
>>> am.implements_interface(gst.interfaces.PropertyProbe)
** (.:26954): CRITICAL **: file gstalsamixerelement.c: line 69
(gst_alsa_mixer_element_interface_supported): should not be reached
False
>>>
Actual results:
Expected results:
I expect both queries for gst.interfaces.PropertyProbe to return True.
Does this happen every time?
Other information:
--
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=547523.
More information about the Gstreamer-bugs
mailing list