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 704179 - spectrum: Fix the spectrum example for 1.0
spectrum: Fix the spectrum example for 1.0
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: documentation
1.x
Other All
: Normal minor
: 1.0.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-07-14 01:06 UTC by Douglas Bagnall
Modified: 2013-07-17 18:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (1.62 KB, patch)
2013-07-14 01:06 UTC, Douglas Bagnall
committed Details | Review

Description Douglas Bagnall 2013-07-14 01:06:20 UTC
Created attachment 249094 [details] [review]
patch

This example is included in the online documentation.

The "message" property has been replaced by "post-messages".

Pre-patch output:

(test_spectrum:23101): GLib-GObject-WARNING **: g_object_set_valist:
object class `GstSpectrum' has no property named `message'
New spectrum message, endtime 0:00:00.100000000

(test_spectrum:23101): GStreamer-CRITICAL **:
gst_value_list_get_value: assertion `GST_VALUE_HOLDS_LIST (value)' failed
[...]

Post-patch:

New spectrum message, endtime 0:00:00.100000000
band 0 (freq 400): magnitude -65.988777 dB phase 1.533397
band 1 (freq 1200): magnitude -65.545563 dB phase -0.780900
band 2 (freq 2000): magnitude -64.791946 dB phase -0.799611
band 3 (freq 2800): magnitude -64.556175 dB phase -0.063615
[...]
Comment 1 Sebastian Dröge (slomo) 2013-07-15 06:02:55 UTC
commit cff0b179d3ead780954944070ee3c61037a196de
Author: Douglas Bagnall <douglas@halo.gen.nz>
Date:   Sun Jul 14 12:50:13 2013 +1200

    level: Fix the spectrum example for 1.0
    
    The "message" property has been replaced by "post-messages".
    
    Pre-patch output:
    
    (test_spectrum:23101): GLib-GObject-WARNING **: g_object_set_valist:
    object class `GstSpectrum' has no property named `message'
    New spectrum message, endtime 0:00:00.100000000
    
    (test_spectrum:23101): GStreamer-CRITICAL **:
    gst_value_list_get_value: assertion `GST_VALUE_HOLDS_LIST (value)' failed
    [...]
    
    Post-patch:
    
    New spectrum message, endtime 0:00:00.100000000
    band 0 (freq 400): magnitude -65.988777 dB phase 1.533397
    band 1 (freq 1200): magnitude -65.545563 dB phase -0.780900
    band 2 (freq 2000): magnitude -64.791946 dB phase -0.799611
    band 3 (freq 2800): magnitude -64.556175 dB phase -0.063615
    [...]
    
    https://bugzilla.gnome.org/show_bug.cgi?id=704179