[0.11] gst-plugins-bad: mpegtsmux: specify in template caps we only take raw/adts AAC format
Wim Taymans
wtay at kemper.freedesktop.org
Fri Feb 10 07:47:19 PST 2012
Module: gst-plugins-bad
Branch: 0.11
Commit: 27f21d31ac3f4c5f856b21cc780031bb3cf9e7a7
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=27f21d31ac3f4c5f856b21cc780031bb3cf9e7a7
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 bab4a87..9eede81 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 }, "
More information about the gstreamer-commits
mailing list