ext/alsa/gstalsa.c: buffer-frames property was missing

Original commit message from CVS:
* ext/alsa/gstalsa.c: (gst_alsa_get_caps_internal):
buffer-frames property was missing
* ext/arts/gst_arts.c:
rate missing from sinkcaps
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/swfdec/gstswfdec.c:
int audio doesn't know buffer-frames
* ext/cdparanoia/gstcdparanoia.c:
int audio doesn't know chunksize either
* ext/nas/nassink.c:
it's endianness, not endianess
* gst-libs/gst/audio/audio.h:
make float standard pad template caps really describe float
* gst/law/mulaw.c: (linear_factory):
signed only, please
* gst/mpegstream/gstdvddemux.c:
widths of 20 are not valid
This commit is contained in:
Benjamin Otte 2004-11-09 06:08:22 +00:00
parent 05837c4436
commit 744f2da62b
8 changed files with 30 additions and 14 deletions

View file

@ -1,3 +1,25 @@
2004-11-09 Benjamin Otte <in7y118@public.uni-hamburg.de>
* ext/alsa/gstalsa.c: (gst_alsa_get_caps_internal):
buffer-frames property was missing
* ext/arts/gst_arts.c:
rate missing from sinkcaps
* ext/audiofile/gstafparse.c:
* ext/audiofile/gstafsink.c:
* ext/audiofile/gstafsrc.c:
* ext/swfdec/gstswfdec.c:
int audio doesn't know buffer-frames
* ext/cdparanoia/gstcdparanoia.c:
int audio doesn't know chunksize either
* ext/nas/nassink.c:
it's endianness, not endianess
* gst-libs/gst/audio/audio.h:
make float standard pad template caps really describe float
* gst/law/mulaw.c: (linear_factory):
signed only, please
* gst/mpegstream/gstdvddemux.c:
widths of 20 are not valid
2004-11-08 Thomas Vander Stichele <thomas at apestaart dot org> 2004-11-08 Thomas Vander Stichele <thomas at apestaart dot org>
Submitted by: Luca Ferretti <elle.uca@infinito.it> Submitted by: Luca Ferretti <elle.uca@infinito.it>

View file

@ -59,7 +59,8 @@ static GstStaticPadTemplate sink_temp = GST_STATIC_PAD_TEMPLATE ("sink",
"depth = (int) 16, " "depth = (int) 16, "
"width = (int) 16, " "width = (int) 16, "
"signed = (boolean) true, " "signed = (boolean) true, "
"channels = (int) 2, " "endianness = (int) byte_order") "channels = (int) 2, "
"rate = (int) 44100, " "endianness = (int) byte_order")
); );
static GstStaticPadTemplate src_temp = GST_STATIC_PAD_TEMPLATE ("src", static GstStaticPadTemplate src_temp = GST_STATIC_PAD_TEMPLATE ("src",

View file

@ -61,9 +61,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
"channels = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ], "
"endianness = (int) BYTE_ORDER, " "endianness = (int) BYTE_ORDER, "
"width = (int) { 8, 16 }, " "width = (int) { 8, 16 }, "
"depth = (int) { 8, 16 }, " "depth = (int) { 8, 16 }, " "signed = (boolean) { true, false }")
"signed = (boolean) { true, false }, "
"buffer-frames = (int) [ 1, MAX ]")
); );
static GstStaticPadTemplate afparse_sink_factory = static GstStaticPadTemplate afparse_sink_factory =

View file

@ -69,9 +69,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
"channels = (int) [ 1, 2 ], " "channels = (int) [ 1, 2 ], "
"endianness = (int) BYTE_ORDER, " "endianness = (int) BYTE_ORDER, "
"width = (int) { 8, 16 }, " "width = (int) { 8, 16 }, "
"depth = (int) { 8, 16 }, " "depth = (int) { 8, 16 }, " "signed = (boolean) { true, false }")
"signed = (boolean) { true, false }, "
"buffer-frames = (int) [ 1, MAX ]")
); );
/* we use an enum for the output type arg */ /* we use an enum for the output type arg */

View file

@ -66,9 +66,7 @@ static GstStaticPadTemplate afsrc_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
"channels = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ], "
"endianness = (int) BYTE_ORDER, " "endianness = (int) BYTE_ORDER, "
"width = (int) { 8, 16 }, " "width = (int) { 8, 16 }, "
"depth = (int) { 8, 16 }, " "depth = (int) { 8, 16 }, " "signed = (boolean) { true, false }")
"signed = (boolean) { true, false }, "
"buffer-frames = (int) [ 1, MAX ]")
); );
/* we use an enum for the output type arg */ /* we use an enum for the output type arg */

View file

@ -51,7 +51,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK, GST_PAD_SINK,
GST_PAD_ALWAYS, GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-int, " GST_STATIC_CAPS ("audio/x-raw-int, "
"endianess = (int) BYTE_ORDER, " "endianness = (int) BYTE_ORDER, "
"signed = (boolean) TRUE, " "signed = (boolean) TRUE, "
"width = (int) 16, " "width = (int) 16, "
"depth = (int) 16, " "depth = (int) 16, "

View file

@ -61,9 +61,7 @@ GST_STATIC_PAD_TEMPLATE ("audio_00",
"rate = (int) 44100, " "rate = (int) 44100, "
"channels = (int) 2, " "channels = (int) 2, "
"endianness = (int) BYTE_ORDER, " "endianness = (int) BYTE_ORDER, "
"width = (int) 16, " "width = (int) 16, " "depth = (int) 16, " "signed = (boolean) true")
"depth = (int) 16, "
"signed = (boolean) true, " "buffer-frames = (int) [ 1, MAX ]")
); );
static GstStaticPadTemplate sink_template_factory = static GstStaticPadTemplate sink_template_factory =

View file

@ -84,6 +84,7 @@ G_BEGIN_DECLS
/* "standard" float audio is native order, 32 bit mono. */ /* "standard" float audio is native order, 32 bit mono. */
#define GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS \ #define GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS \
"audio/x-raw-float, " \ "audio/x-raw-float, " \
"width = (int) 32, " \
"rate = (int) [ 1, MAX ], " \ "rate = (int) [ 1, MAX ], " \
"channels = (int) 1, " \ "channels = (int) 1, " \
"endianness = (int) BYTE_ORDER, " \ "endianness = (int) BYTE_ORDER, " \