audiotestsrc: simplify the caps
Drop channel-mask as we only do mon/stereo and channel-mask is optional in these cases.
This commit is contained in:
parent
c1b7b2c8d6
commit
8c390fe80a
@ -84,19 +84,13 @@ enum
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_audio_test_src_src_template =
|
static GstStaticPadTemplate gst_audio_test_src_src_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("src",
|
GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("audio/x-raw, "
|
GST_STATIC_CAPS ("audio/x-raw, "
|
||||||
"format = (string) " FORMAT_STR ", "
|
"format = (string) " FORMAT_STR ", "
|
||||||
"layout = (string) interleaved, "
|
"layout = (string) interleaved, "
|
||||||
"rate = (int) [ 1, MAX ], "
|
"rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2]")
|
||||||
"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
|
#define gst_audio_test_src_parent_class parent_class
|
||||||
|
Loading…
x
Reference in New Issue
Block a user