fix sample rate template

Original commit message from CVS:
fix sample rate template
This commit is contained in:
Thomas Vander Stichele 2004-10-14 09:16:32 +00:00
parent a79637d728
commit 30ffd67724
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2004-10-14 Thomas Vander Stichele <thomas at apestaart dot org>
* ext/vorbis/oggvorbisenc.c:
* ext/vorbis/vorbisdec.c:
fix template sample rate
2004-10-13 Wim Taymans <wim@fluendo.com>
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):

View file

@ -149,7 +149,7 @@ raw_caps_factory (void)
"signed", G_TYPE_BOOLEAN, TRUE,
"width", G_TYPE_INT, 16,
"depth", G_TYPE_INT, 16,
"rate", GST_TYPE_INT_RANGE, 11025, 48000,
"rate", GST_TYPE_INT_RANGE, 8000, 50000,
"channels", GST_TYPE_INT_RANGE, 1, 2, NULL);
}

View file

@ -52,7 +52,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-float, "
"rate = (int) [ 11025, 48000 ], "
"rate = (int) [ 8000, 50000 ], "
"channels = (int) [ 1, 2 ], " "endianness = (int) BYTE_ORDER, "
/* no ifdef in macros, please
#ifdef GST_VORBIS_DEC_SEQUENTIAL