From d238f080fb21fbf18708d7ae29c5d23b5f47d29b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 19 Oct 2015 09:14:19 +0100 Subject: [PATCH] qtmux: unify raw audio caps into a single caps structure --- gst/isomp4/gstqtmuxmap.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/gst/isomp4/gstqtmuxmap.c b/gst/isomp4/gstqtmuxmap.c index 1a8b6ce..77f39a4 100644 --- a/gst/isomp4/gstqtmuxmap.c +++ b/gst/isomp4/gstqtmuxmap.c @@ -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, " \ -- 2.7.4