mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
sync mp3 caps
Original commit message from CVS: sync mp3 caps
This commit is contained in:
parent
8165bd1ee6
commit
6db1495c32
3 changed files with 16 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2004-06-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* ext/lame/gstlame.c:
|
||||||
|
* ext/mad/gstmad.c:
|
||||||
|
sync caps. Make sure mad can only output a list of rates, not
|
||||||
|
a full range. In the future, have three caps lists for each of the
|
||||||
|
mpeg versions. Change mpegversion to a double as well.
|
||||||
|
|
||||||
2004-06-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-06-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* gst/volume/.cvsignore:
|
* gst/volume/.cvsignore:
|
||||||
|
|
|
@ -38,7 +38,7 @@ 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, "
|
||||||
"endianness = (int) BYTE_ORDER, "
|
"endianness = (int) " G_STRINGIFY (G_BYTE_ORDER) ", "
|
||||||
"signed = (boolean) true, "
|
"signed = (boolean) true, "
|
||||||
"width = (int) 16, "
|
"width = (int) 16, "
|
||||||
"depth = (int) 16, "
|
"depth = (int) 16, "
|
||||||
|
|
|
@ -126,15 +126,20 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
"signed = (boolean) true, "
|
"signed = (boolean) true, "
|
||||||
"width = (int) 16, "
|
"width = (int) 16, "
|
||||||
"depth = (int) 16, "
|
"depth = (int) 16, "
|
||||||
"rate = (int) [ 11025, 48000 ], " "channels = (int) [ 1, 2 ]")
|
"rate = (int) { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 }, "
|
||||||
|
"channels = (int) [ 1, 2 ]")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/* FIXME: make three caps, for mpegversion 1, 2 and 2.5 */
|
||||||
static GstStaticPadTemplate mad_sink_template_factory =
|
static GstStaticPadTemplate mad_sink_template_factory =
|
||||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("audio/mpeg, "
|
GST_STATIC_CAPS ("audio/mpeg, "
|
||||||
"mpegversion = (int) 1, " "layer = (int) [ 1, 3 ]")
|
"mpegversion = (int) 1, "
|
||||||
|
"layer = (int) [ 1, 3 ], "
|
||||||
|
"rate = (int) { 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000 }, "
|
||||||
|
"channels = (int) [ 1, 2 ]")
|
||||||
);
|
);
|
||||||
|
|
||||||
static void gst_mad_base_init (gpointer g_class);
|
static void gst_mad_base_init (gpointer g_class);
|
||||||
|
|
Loading…
Reference in a new issue