summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorArun Raghavan <arunsr@codeaurora.org>2018-05-28 14:39:53 +0530
committerTim-Philipp Müller <tim@centricular.com>2019-05-06 23:43:07 +0200
commit3142b6e851a807cb09577a5d183318135c51e408 (patch)
tree38128c33f6389baa8df71babd00fb5ac83f2c41d /ext
parentc44ab97026b33a5ec811592fe720677bacd2e3d5 (diff)
downloadgstreamer-plugins-good-3142b6e851a807cb09577a5d183318135c51e408.tar.gz
pulse: Fix format info to caps conversion for PCM
Diffstat (limited to 'ext')
-rw-r--r--ext/pulse/pulseutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pulse/pulseutil.c b/ext/pulse/pulseutil.c
index 83aa4b640..9d2f8c891 100644
--- a/ext/pulse/pulseutil.c
+++ b/ext/pulse/pulseutil.c
@@ -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);