summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivia Nikolaidou <vivia@ahiru.eu>2016-11-21 16:17:31 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-11-22 14:05:35 +0200
commit91de259b744d086963ed0cc5a163e6d95afe7d9c (patch)
tree73c74ec749d464eaea65bd33732b1f214448e4d1
parentbf43f44fcfada5ec4a3ce60cb374340486fe9fac (diff)
qtmux: Enable up to 16 unpositioned raw audio channels
https://bugzilla.gnome.org/show_bug.cgi?id=774789
-rw-r--r--gst/isomp4/gstqtmuxmap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/isomp4/gstqtmuxmap.c b/gst/isomp4/gstqtmuxmap.c
index 5fabc9249..3bc556742 100644
--- a/gst/isomp4/gstqtmuxmap.c
+++ b/gst/isomp4/gstqtmuxmap.c
@@ -98,6 +98,13 @@
"layout = (string) interleaved, " \
COMMON_AUDIO_CAPS (2, MAX)
+#define PCM_CAPS_UNPOSITIONED \
+ "audio/x-raw, " \
+ "format = (string) { S32LE, S32BE, S24LE, S24BE, S16LE, S16BE, S8, U8 }, " \
+ "layout = (string) interleaved, " \
+ "channel-mask = (bitmask) 0, " \
+ COMMON_AUDIO_CAPS (16, MAX)
+
#define MP3_CAPS \
"audio/mpeg, " \
"mpegversion = (int) 1, " \
@@ -177,6 +184,7 @@ GstQTMuxFormatProp gst_qt_mux_format_list[] = {
"video/x-dirac, "
COMMON_VIDEO_CAPS "; " "video/x-qt-part, " COMMON_VIDEO_CAPS),
GST_STATIC_CAPS (PCM_CAPS_FULL "; "
+ PCM_CAPS_UNPOSITIONED " ; "
MP3_CAPS " ; "
AAC_CAPS " ; "
ADPCM_CAPS " ; "