summaryrefslogtreecommitdiffstats
path: root/ext/sndfile/gstsf.c
diff options
context:
space:
mode:
authorLeif Johnson <leif@ambient.2y.net>2003-07-19 23:25:25 +0000
committerLeif Johnson <leif@ambient.2y.net>2003-07-19 23:25:25 +0000
commitf6830d4ad15f488c6a61ebccf4f09529fdf5ebd3 (patch)
tree2548bd8c8423d55468bad88511bb35c92a9fc428 /ext/sndfile/gstsf.c
parentd5c716edbd09cbb187ffec03b6855e59a6e96c11 (diff)
downloadgst-plugins-bad-f6830d4ad15f488c6a61ebccf4f09529fdf5ebd3.tar.gz
gst-plugins-bad-f6830d4ad15f488c6a61ebccf4f09529fdf5ebd3.tar.bz2
gst-plugins-bad-f6830d4ad15f488c6a61ebccf4f09529fdf5ebd3.zip
+ changes for new float caps without slope/intercept + some category changes for plugins
Original commit message from CVS: + changes for new float caps without slope/intercept + some category changes for plugins
Diffstat (limited to 'ext/sndfile/gstsf.c')
-rw-r--r--ext/sndfile/gstsf.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/ext/sndfile/gstsf.c b/ext/sndfile/gstsf.c
index ae2cee11..3d75087b 100644
--- a/ext/sndfile/gstsf.c
+++ b/ext/sndfile/gstsf.c
@@ -60,14 +60,10 @@ GST_PAD_TEMPLATE_FACTORY (sf_src_factory,
"src%d",
GST_PAD_SRC,
GST_PAD_REQUEST,
- GST_CAPS_NEW (
+ gst_caps_new (
"sf_src",
"audio/x-raw-float",
- "rate", GST_PROPS_INT_RANGE (1, G_MAXINT),
- "width", GST_PROPS_INT (32),
- "endianness", GST_PROPS_INT (G_BYTE_ORDER),
- "buffer-frames", GST_PROPS_INT_RANGE (1, G_MAXINT),
- "channels", GST_PROPS_INT (1)
+ GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_PROPS
)
);
@@ -75,14 +71,10 @@ GST_PAD_TEMPLATE_FACTORY (sf_sink_factory,
"sink%d",
GST_PAD_SINK,
GST_PAD_REQUEST,
- GST_CAPS_NEW (
+ gst_caps_new (
"sf_sink",
"audio/x-raw-float",
- "rate", GST_PROPS_INT_RANGE (1, G_MAXINT),
- "width", GST_PROPS_INT (32),
- "endianness", GST_PROPS_INT (G_BYTE_ORDER),
- "buffer-frames", GST_PROPS_INT_RANGE (1, G_MAXINT),
- "channels", GST_PROPS_INT (1)
+ GST_AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_PROPS
)
);