spectrum: improve property setter
authorStefan Kost <ensonic@users.sf.net>
Wed, 11 Aug 2010 12:40:09 +0000 (15:40 +0300)
committerStefan Kost <ensonic@users.sf.net>
Mon, 6 Sep 2010 06:53:00 +0000 (09:53 +0300)
commit50a139de8585f831e6737a319d3bc7fff7f08e95
tree21126fa67a5338d681455eb57df6ec2f369efc60
parent61f22f4379a3fa054a70d8056136461cfc1de941
spectrum: improve property setter

consistently only update if the property actualy changed the value. Do it
without reading the gvalue twice. No need to reset the spectrum analyzer for
threshold changes.
gst/spectrum/gstspectrum.c