pulse: fix format info to caps conversion for mulaw
authorTim-Philipp Müller <tim@centricular.com>
Sun, 16 Mar 2014 15:55:00 +0000 (15:55 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 16 Mar 2014 15:55:00 +0000 (15:55 +0000)
ext/pulse/pulseutil.c

index b0f4a0a..7bbc70b 100644 (file)
@@ -435,7 +435,7 @@ gst_pulse_format_info_to_caps (pa_format_info * format)
         ret = gst_caps_from_string (_PULSE_CAPS_ALAW);
 
       } else if (ss.format == PA_SAMPLE_ULAW) {
-        ret = gst_caps_from_string (_PULSE_CAPS_MP3);
+        ret = gst_caps_from_string (_PULSE_CAPS_MULAW);
 
       } else {
         /* Linear PCM format */