jack: template caps had lists with one value, just use value directly

This commit is contained in:
Tim-Philipp Müller 2011-01-02 17:40:41 +00:00
parent 1f5083a17c
commit 79a8e0ee42
2 changed files with 2 additions and 2 deletions

View file

@ -614,7 +614,7 @@ GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-float, "
"endianness = (int) { " G_STRINGIFY (G_BYTE_ORDER) " }, "
"endianness = (int) BYTE_ORDER, "
"width = (int) 32, "
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ]")
);

View file

@ -649,7 +649,7 @@ static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw-float, "
"endianness = (int) { " G_STRINGIFY (G_BYTE_ORDER) " }, "
"endianness = (int) BYTE_ORDER, "
"width = (int) 32, "
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, MAX ]")
);