mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
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
This commit is contained in:
parent
9a04390288
commit
8bdd27fd62
1 changed files with 16 additions and 10 deletions
|
@ -167,11 +167,14 @@ gst_jack_src_request_pad_factory(void)
|
||||||
{
|
{
|
||||||
static GstPadTemplate *template = NULL;
|
static GstPadTemplate *template = NULL;
|
||||||
|
|
||||||
if (!template)
|
if (!template) {
|
||||||
template = gst_pad_template_new("%s", GST_PAD_SRC, GST_PAD_REQUEST,
|
GstCaps *caps;
|
||||||
gst_caps_new("src", "audio/raw",
|
caps = gst_caps_new("src",
|
||||||
GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS),
|
"audio/x-raw-float",
|
||||||
NULL);
|
GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS);
|
||||||
|
template = gst_pad_template_new("%s", GST_PAD_SRC,
|
||||||
|
GST_PAD_REQUEST, caps, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
return template;
|
return template;
|
||||||
}
|
}
|
||||||
|
@ -181,11 +184,14 @@ gst_jack_sink_request_pad_factory(void)
|
||||||
{
|
{
|
||||||
static GstPadTemplate *template = NULL;
|
static GstPadTemplate *template = NULL;
|
||||||
|
|
||||||
if (!template)
|
if (!template) {
|
||||||
template = gst_pad_template_new("%s", GST_PAD_SINK, GST_PAD_REQUEST,
|
GstCaps *caps;
|
||||||
gst_caps_new("sink", "audio/raw",
|
caps = gst_caps_new ("sink",
|
||||||
GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS),
|
"audio/x-raw-float",
|
||||||
NULL);
|
GST_AUDIO_FLOAT_MONO_PAD_TEMPLATE_PROPS);
|
||||||
|
template = gst_pad_template_new("%s", GST_PAD_SINK,
|
||||||
|
GST_PAD_REQUEST, caps, NULL);
|
||||||
|
}
|
||||||
|
|
||||||
return template;
|
return template;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue