From 27f21d31ac3f4c5f856b21cc780031bb3cf9e7a7 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Thu, 2 Feb 2012 11:27:33 +0000 Subject: [PATCH] mpegtsmux: specify in template caps we only take raw/adts AAC format This appears to be what this element supports. https://bugzilla.gnome.org/show_bug.cgi?id=665394 --- gst/mpegtsmux/mpegtsmux.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c index bab4a873de..9eede8125a 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -121,7 +121,9 @@ static GstStaticPadTemplate mpegtsmux_sink_factory = "video/x-dirac;" "video/x-h264,stream-format=(string)byte-stream;" "audio/mpeg, " - "mpegversion = (int) { 1, 2, 4 };" + "mpegversion = (int) { 1, 2 };" + "audio/mpeg, " + "mpegversion = (int) 4, stream-format = (string) { raw, adts };" "audio/x-lpcm, " "width = (int) { 16, 20, 24 }, " "rate = (int) { 48000, 96000 }, "