mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-26 09:08:14 +00:00
signalprocessor: add rate to caps
This commit is contained in:
parent
5bc9d4cecd
commit
9304f959a4
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ gst_signal_processor_class_add_pad_template (GstSignalProcessorClass * klass,
|
|||
|
||||
caps = gst_caps_new_simple ("audio/x-raw-float",
|
||||
"endianness", G_TYPE_INT, G_BYTE_ORDER,
|
||||
"width", G_TYPE_INT, 32, "channels", G_TYPE_INT, channels, NULL);
|
||||
"width", G_TYPE_INT, 32, "channels", G_TYPE_INT, channels,
|
||||
"rate", GST_TYPE_INT_RANGE, 1, G_MAXINT, NULL);
|
||||
|
||||
new = g_object_new (GST_TYPE_SIGNAL_PROCESSOR_PAD_TEMPLATE,
|
||||
"name", name, "name-template", name,
|
||||
|
|
Loading…
Reference in a new issue