audiotestsrc: Fix channel-mask handling

This commit is contained in:
Sebastian Dröge 2012-01-04 10:26:47 +01:00
parent 241de164ee
commit 2db0238450

View file

@ -84,13 +84,19 @@ enum
#endif
static GstStaticPadTemplate gst_audio_test_src_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw, "
"format = (string) " FORMAT_STR ", "
"layout = (string) interleaved, "
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]")
"rate = (int) [ 1, MAX ], "
"channels = (int) 1; "
"audio/x-raw, "
"format = (string) " FORMAT_STR ", "
"layout = (string) interleaved, "
"rate = (int) [ 1, MAX ], "
"channels = (int) 2, " "channel-mask = (bitmask) 0x3")
);
#define gst_audio_test_src_parent_class parent_class