summaryrefslogtreecommitdiffstats
path: root/ext/jack
diff options
context:
space:
mode:
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-07-06 20:49:52 +0000
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>2003-07-06 20:49:52 +0000
commit95011fd7e8eb3a2ec3a87ff9dad523d18005db42 (patch)
tree6e75f9139c6520126f9344e15e1dea2a49f70f9c /ext/jack
parent85a8dd7ecb04d043be8192e27e3c89ef8ccebe55 (diff)
downloadgst-plugins-bad-95011fd7e8eb3a2ec3a87ff9dad523d18005db42.tar.gz
gst-plugins-bad-95011fd7e8eb3a2ec3a87ff9dad523d18005db42.tar.bz2
gst-plugins-bad-95011fd7e8eb3a2ec3a87ff9dad523d18005db42.zip
New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as descri...
Original commit message from CVS: New mimetypes gone into effect today - this commit changes all old mimetypes over to the new mimetypes spec as described in the previous commit's document. Note: some plugins will break, some pipelines will break, expect HEAD to be broken or at least not 100% working for a few days, but don't forget to report bugs
Diffstat (limited to 'ext/jack')
-rw-r--r--ext/jack/gstjack.c26
1 files changed, 16 insertions, 10 deletions
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c
index 8db6c56b..700cf0ae 100644
--- a/ext/jack/gstjack.c
+++ b/ext/jack/gstjack.c
@@ -167,11 +167,14 @@ gst_jack_src_request_pad_factory(void)
{
static GstPadTemplate *template = NULL;
- if (!template)
- template = gst_pad_template_new("%s", GST_PAD_SRC, GST_PAD_REQUEST,
- gst_caps_new("src", "audio/raw",
- GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS),
- NULL);
+ if (!template) {
+ GstCaps *caps;
+ caps = gst_caps_new("src",
+ "audio/x-raw-float",
+ GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS);
+ template = gst_pad_template_new("%s", GST_PAD_SRC,
+ GST_PAD_REQUEST, caps, NULL);
+ }
return template;
}
@@ -181,11 +184,14 @@ gst_jack_sink_request_pad_factory(void)
{
static GstPadTemplate *template = NULL;
- if (!template)
- template = gst_pad_template_new("%s", GST_PAD_SINK, GST_PAD_REQUEST,
- gst_caps_new("sink", "audio/raw",
- GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS),
- NULL);
+ if (!template) {
+ GstCaps *caps;
+ caps = gst_caps_new ("sink",
+ "audio/x-raw-float",
+ GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS);
+ template = gst_pad_template_new("%s", GST_PAD_SINK,
+ GST_PAD_REQUEST, caps, NULL);
+ }
return template;
}