mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 03:46:11 +00:00
fix sample rate template
Original commit message from CVS: fix sample rate template
This commit is contained in:
parent
a79637d728
commit
30ffd67724
3 changed files with 8 additions and 2 deletions
|
@ -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>
|
2004-10-13 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
|
* ext/mad/gstmad.c: (gst_mad_check_caps_reset), (gst_mad_chain):
|
||||||
|
|
|
@ -149,7 +149,7 @@ raw_caps_factory (void)
|
||||||
"signed", G_TYPE_BOOLEAN, TRUE,
|
"signed", G_TYPE_BOOLEAN, TRUE,
|
||||||
"width", G_TYPE_INT, 16,
|
"width", G_TYPE_INT, 16,
|
||||||
"depth", 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);
|
"channels", GST_TYPE_INT_RANGE, 1, 2, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -52,7 +52,7 @@ GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("audio/x-raw-float, "
|
GST_STATIC_CAPS ("audio/x-raw-float, "
|
||||||
"rate = (int) [ 11025, 48000 ], "
|
"rate = (int) [ 8000, 50000 ], "
|
||||||
"channels = (int) [ 1, 2 ], " "endianness = (int) BYTE_ORDER, "
|
"channels = (int) [ 1, 2 ], " "endianness = (int) BYTE_ORDER, "
|
||||||
/* no ifdef in macros, please
|
/* no ifdef in macros, please
|
||||||
#ifdef GST_VORBIS_DEC_SEQUENTIAL
|
#ifdef GST_VORBIS_DEC_SEQUENTIAL
|
||||||
|
|
Loading…
Reference in a new issue