After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 547523 - alsasrc and alsamixer incorrectly report that GstPropertyProbe is not supported
alsasrc and alsamixer incorrectly report that GstPropertyProbe is not supported
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-08-13 03:03 UTC by Laszlo Pandy
Modified: 2008-08-13 03:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove error, critical assersion and return TRUE for GstPropertyProbe. (1.76 KB, patch)
2008-08-13 03:04 UTC, Laszlo Pandy
none Details | Review

Description Laszlo Pandy 2008-08-13 03:03:10 UTC
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:
Comment 1 Laszlo Pandy 2008-08-13 03:04:05 UTC
Created attachment 116472 [details] [review]
Remove error, critical assersion and return TRUE for GstPropertyProbe.
Comment 2 Laszlo Pandy 2008-08-13 03:08:24 UTC
Set as INVALID, refiled as bug #547525 because component was corrected to gst-plugins-base.