[0.10] gst-plugins-good: flvmux: specify we only accept raw AAC in template caps
Tim Müller
tpm at kemper.freedesktop.org
Thu Feb 2 16:09:07 PST 2012
Module: gst-plugins-good
Branch: 0.10
Commit: 40f37eac2f74516fc5aa95d28edf2e66a792d085
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=40f37eac2f74516fc5aa95d28edf2e66a792d085
Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date: Thu Feb 2 12:27:09 2012 +0000
flvmux: specify we only accept raw AAC in template caps
No header seems to be added, and the codec ID is the same as used
for raw by flvdemux, so raw seems the only supported case.
https://bugzilla.gnome.org/show_bug.cgi?id=665394
---
gst/flv/gstflvmux.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/gst/flv/gstflvmux.c b/gst/flv/gstflvmux.c
index 26402c7..44ed7ea 100644
--- a/gst/flv/gstflvmux.c
+++ b/gst/flv/gstflvmux.c
@@ -74,7 +74,8 @@ static GstStaticPadTemplate audiosink_templ = GST_STATIC_PAD_TEMPLATE ("audio",
GST_STATIC_CAPS
("audio/x-adpcm, layout = (string) swf, channels = (int) { 1, 2 }, rate = (int) { 5512, 11025, 22050, 44100 }; "
"audio/mpeg, mpegversion = (int) 1, layer = (int) 3, channels = (int) { 1, 2 }, rate = (int) { 5512, 8000, 11025, 22050, 44100 }, parsed = (boolean) TRUE; "
- "audio/mpeg, mpegversion = (int) { 2, 4 }, framed = (boolean) TRUE; "
+ "audio/mpeg, mpegversion = (int) 2, framed = (boolean) TRUE; "
+ "audio/mpeg, mpegversion = (int) 4, stream-format = (string) raw, framed = (boolean) TRUE; "
"audio/x-nellymoser, channels = (int) { 1, 2 }, rate = (int) { 5512, 8000, 11025, 16000, 22050, 44100 }; "
"audio/x-raw-int, endianness = (int) LITTLE_ENDIAN, channels = (int) { 1, 2 }, width = (int) 8, depth = (int) 8, rate = (int) { 5512, 11025, 22050, 44100 }, signed = (boolean) FALSE; "
"audio/x-raw-int, endianness = (int) LITTLE_ENDIAN, channels = (int) { 1, 2 }, width = (int) 16, depth = (int) 16, rate = (int) { 5512, 11025, 22050, 44100 }, signed = (boolean) TRUE; "
More information about the gstreamer-commits
mailing list