qtmux: unify raw audio caps into a single caps structure

This commit is contained in:
Tim-Philipp Müller 2015-10-19 09:14:19 +01:00
parent 82bffe3eef
commit d238f080fb

View file

@ -88,20 +88,15 @@
#define PCM_CAPS \ #define PCM_CAPS \
"audio/x-raw, " \ "audio/x-raw, " \
"format = (string) { S8, U8 }, " \ "format = (string) { S16LE, S16BE, S8, U8 }, " \
"layout = (string) interleaved, " \
COMMON_AUDIO_CAPS (2, MAX) "; " \
"audio/x-raw, " \
"format = (string) { S16LE, S16BE }, " \
"layout = (string) interleaved, " \ "layout = (string) interleaved, " \
COMMON_AUDIO_CAPS (2, MAX) COMMON_AUDIO_CAPS (2, MAX)
#define PCM_CAPS_FULL \ #define PCM_CAPS_FULL \
"audio/x-raw, " \ "audio/x-raw, " \
"format = (string) { S32LE, S32BE, S24LE, S24BE }, " \ "format = (string) { S32LE, S32BE, S24LE, S24BE, S16LE, S16BE, S8, U8 }, " \
"layout = (string) interleaved, " \ "layout = (string) interleaved, " \
COMMON_AUDIO_CAPS (2, MAX) "; " \ COMMON_AUDIO_CAPS (2, MAX)
PCM_CAPS
#define MP3_CAPS \ #define MP3_CAPS \
"audio/mpeg, " \ "audio/mpeg, " \