[gst-cvs] gst-plugins-bad: gmedec: Add caps for all supported file formats to the srcpad template
Sebastian Dröge
slomo at kemper.freedesktop.org
Fri Aug 7 00:21:29 PDT 2009
Module: gst-plugins-bad
Branch: master
Commit: 27efe0067c864baa57053bd7ce45ffb33aa6a6ca
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=27efe0067c864baa57053bd7ce45ffb33aa6a6ca
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Fri Aug 7 09:21:04 2009 +0200
gmedec: Add caps for all supported file formats to the srcpad template
---
ext/gme/gstgme.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/ext/gme/gstgme.c b/ext/gme/gstgme.c
index fb8485a..ff4e41d 100644
--- a/ext/gme/gstgme.c
+++ b/ext/gme/gstgme.c
@@ -29,8 +29,13 @@
#include <glib.h>
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,
More information about the Gstreamer-commits
mailing list