pulse: Fix format info to caps conversion for PCM

This commit is contained in:
Arun Raghavan 2018-05-28 14:39:53 +05:30 committed by Arun Raghavan
parent 4e9a8e5883
commit f5bb377a78

View file

@ -467,7 +467,7 @@ gst_pulse_format_info_to_caps (pa_format_info * format)
ret = gst_caps_from_string (_PULSE_CAPS_LINEAR);
if (sformat)
gst_caps_set_simple (ret, "format", G_TYPE_STRING, NULL);
gst_caps_set_simple (ret, "format", G_TYPE_STRING, sformat, NULL);
}
pa_xfree (tmp);