summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikram Fugro <vikram.fugro@gmail.com>2015-09-23 17:43:51 +0530
committerSebastian Dröge <sebastian@centricular.com>2015-09-23 15:41:08 +0200
commit3c2044168deebf75cbb2b9131322cc19762bd026 (patch)
tree75a0cc9fa49bb8e629045ce0192102e0f4d9a09d
parente5d53ec7e44be27e5073a263f6b5790a1126ff48 (diff)
spectrum: send phase values in the GstMessage for Phase info
https://bugzilla.gnome.org/show_bug.cgi?id=755463
-rw-r--r--gst/spectrum/gstspectrum.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gst/spectrum/gstspectrum.c b/gst/spectrum/gstspectrum.c
index 563c4f0ad..96331b6c4 100644
--- a/gst/spectrum/gstspectrum.c
+++ b/gst/spectrum/gstspectrum.c
@@ -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);
}
}
}