Hello,
I'm working on a Gstreamer plugin and I need it to accept only audio of types RAW, AC3 or DTS. I know how to restrict my plugin's inputs to RAW, using :
static GstStaticPadTemplate sinktemplate = 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) " }, "
"signed = (boolean) { TRUE }, "
"width = (int) 32, "
"depth = (int) 32, "
"rate = (int) [1, MAX], " "channels = (int) [1, MAX]")
);
How can make my plugin restricts its input to RAW, AC3 or DTS stream ?
Thanks,
Hamza