mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 16:08:51 +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);
|
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…
Reference in a new issue