mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
pulse: Fix format info to caps conversion for PCM
This commit is contained in:
parent
4e9a8e5883
commit
f5bb377a78
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue