pulse: fix format info to caps conversion for mulaw
This commit is contained in:
parent
e714ab9dba
commit
5f0ea73d28
@ -435,7 +435,7 @@ gst_pulse_format_info_to_caps (pa_format_info * format)
|
|||||||
ret = gst_caps_from_string (_PULSE_CAPS_ALAW);
|
ret = gst_caps_from_string (_PULSE_CAPS_ALAW);
|
||||||
|
|
||||||
} else if (ss.format == PA_SAMPLE_ULAW) {
|
} else if (ss.format == PA_SAMPLE_ULAW) {
|
||||||
ret = gst_caps_from_string (_PULSE_CAPS_MP3);
|
ret = gst_caps_from_string (_PULSE_CAPS_MULAW);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/* Linear PCM format */
|
/* Linear PCM format */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user