[0.10] gst-plugins-bad: mpegtsmux: specify in template caps we only take raw/adts AAC format
Tim Müller
tpm at kemper.freedesktop.org
Thu Feb 2 17:01:32 PST 2012
Module: gst-plugins-bad
Branch: 0.10
Commit: ff50ecfac065ca49c46cfabdd2567789c2d1b55e
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=ff50ecfac065ca49c46cfabdd2567789c2d1b55e
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date: Thu Feb 2 11:27:33 2012 +0000
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 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/gst/mpegtsmux/mpegtsmux.c b/gst/mpegtsmux/mpegtsmux.c
index 8f7ee90..28e02e0 100644
--- a/gst/mpegtsmux/mpegtsmux.c
+++ b/gst/mpegtsmux/mpegtsmux.c
@@ -117,7 +117,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 }, "
More information about the gstreamer-commits
mailing list