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 563508 - [rgvolume] Unit test fails with passthrough assertions
[rgvolume] Unit test fails with passthrough assertions
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal blocker
: 0.10.22
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-06 22:10 UTC by Sebastian Dröge (slomo)
Modified: 2008-12-08 18:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2008-12-06 22:10:35 UTC
Hi,
the rgvolume unit test fails with latest CVS:

Running suite(s): rgvolume
75%: Checks: 8, Failures: 2, Errors: 0
elements/rgvolume.c:254:F:general:test_fallback_gain:0: Expected operation in passthrough mode
elements/rgvolume.c:254:F:general:test_headroom:0: Incorrect passthrough behaviour
FAIL: elements/rgvolume
Comment 1 René Stadler 2008-12-08 09:00:22 UTC
Maybe this is related to the basetransform rewrite (it uses a volume element).  One time it expects output_buf == input_buf, the second time !=.

I will have a closer look at this.
Comment 2 Wim Taymans 2008-12-08 14:36:22 UTC
ok, this is because of a recent change to the volume element.
Comment 3 Wim Taymans 2008-12-08 18:44:22 UTC
        * gst/volume/gstvolume.c: (gst_volume_class_init),
        (volume_before_transform), (volume_transform_ip):
        Use new basetransform vmethod to reconfigure the dynamic properties and
        any pending volume/mute changes. Fixes #563508.