From 27efe0067c864baa57053bd7ce45ffb33aa6a6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 7 Aug 2009 09:21:04 +0200 Subject: gmedec: Add caps for all supported file formats to the srcpad template --- ext/gme/gstgme.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ext/gme/gstgme.c b/ext/gme/gstgme.c index fb8485a8..ff4e41d6 100644 --- a/ext/gme/gstgme.c +++ b/ext/gme/gstgme.c @@ -29,8 +29,13 @@ #include static GstStaticPadTemplate sink_factory = -GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("audio/x-spc")); + GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS, + GST_STATIC_CAPS ("audio/x-ay; " + "audio/x-gbs; " + "audio/x-gym; " + "audio/x-hes; " + "audio/x-kss; " + "audio/x-nsf; " "audio/x-sap; " "audio/x-spc; " "audio/x-vgm")); static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, -- cgit v1.2.1