From be22d8fb4af7d8c4c3443453fa407ce4eb3d37d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 20 Jul 2015 12:38:28 +0100 Subject: [PATCH] mpegtsmux: fix aac caps in pad template for raw aac Raw aac doesn't need framed=true. Fixes not-negotiated error with voaacenc ! mpegtsmux. --- 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 4cc4a03a55..15f4356ece 100644 --- a/gst/mpegtsmux/mpegtsmux.c +++ b/gst/mpegtsmux/mpegtsmux.c @@ -130,7 +130,9 @@ static GstStaticPadTemplate mpegtsmux_sink_factory = "mpegversion = (int) { 1, 2 };" "audio/mpeg, " "framed = (boolean) TRUE, " - "mpegversion = (int) 4, stream-format = (string) { raw, adts };" + "mpegversion = (int) 4, stream-format = (string) adts;" + "audio/mpeg, " + "mpegversion = (int) 4, stream-format = (string) raw;" "audio/x-lpcm, " "width = (int) { 16, 20, 24 }, " "rate = (int) { 48000, 96000 }, "