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 \
"audio/x-raw, " \
"format = (string) { S8, U8 }, " \
"layout = (string) interleaved, " \
COMMON_AUDIO_CAPS (2, MAX) "; " \
"audio/x-raw, " \
"format = (string) { S16LE, S16BE }, " \
"format = (string) { S16LE, S16BE, S8, U8 }, " \
"layout = (string) interleaved, " \
COMMON_AUDIO_CAPS (2, MAX)
#define PCM_CAPS_FULL \
"audio/x-raw, " \
"format = (string) { S32LE, S32BE, S24LE, S24BE }, " \
"format = (string) { S32LE, S32BE, S24LE, S24BE, S16LE, S16BE, S8, U8 }, " \
"layout = (string) interleaved, " \
COMMON_AUDIO_CAPS (2, MAX) "; " \
PCM_CAPS
COMMON_AUDIO_CAPS (2, MAX)
#define MP3_CAPS \
"audio/mpeg, " \