From 3c2044168deebf75cbb2b9131322cc19762bd026 Mon Sep 17 00:00:00 2001 From: Vikram Fugro Date: Wed, 23 Sep 2015 17:43:51 +0530 Subject: [PATCH] spectrum: send phase values in the GstMessage for Phase info https://bugzilla.gnome.org/show_bug.cgi?id=755463 --- gst/spectrum/gstspectrum.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/spectrum/gstspectrum.c b/gst/spectrum/gstspectrum.c index 563c4f0ad7..96331b6c4f 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); } } }