pulse: Fix format info to caps conversion for PCM
This commit is contained in:
parent
4e9a8e5883
commit
f5bb377a78
@ -467,7 +467,7 @@ gst_pulse_format_info_to_caps (pa_format_info * format)
|
|||||||
ret = gst_caps_from_string (_PULSE_CAPS_LINEAR);
|
ret = gst_caps_from_string (_PULSE_CAPS_LINEAR);
|
||||||
|
|
||||||
if (sformat)
|
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);
|
pa_xfree (tmp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user