spectrum: send phase values in the GstMessage for Phase info
authorVikram Fugro <vikram.fugro@gmail.com>
Wed, 23 Sep 2015 12:13:51 +0000 (17:43 +0530)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 23 Sep 2015 13:41:08 +0000 (15:41 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=755463

gst/spectrum/gstspectrum.c

index 563c4f0..96331b6 100644 (file)
@@ -746,8 +746,7 @@ gst_spectrum_message_new (GstSpectrum * spectrum, GstClockTime timestamp,
             spectrum->bands);
       }
       if (spectrum->message_phase) {
-        gst_spectrum_message_add_array (pcv, cd->spect_magnitude,
-            spectrum->bands);
+        gst_spectrum_message_add_array (pcv, cd->spect_phase, spectrum->bands);
       }
     }
   }