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); } } }