summaryrefslogtreecommitdiffstats
path: root/ext/audiofile/gstaf.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2002-05-26 21:59:21 +0000
committerWim Taymans <wim.taymans@gmail.com>2002-05-26 21:59:21 +0000
commitd18d4fd5a1986d59af029a482e094a3707828438 (patch)
treebeacf1328f92d1827aed3be348f607dca5d0839d /ext/audiofile/gstaf.c
parentcff445b737c736d65b85d861dbe9baeb28c5ae50 (diff)
downloadgst-plugins-bad-d18d4fd5a1986d59af029a482e094a3707828438.tar.gz
gst-plugins-bad-d18d4fd5a1986d59af029a482e094a3707828438.tar.bz2
gst-plugins-bad-d18d4fd5a1986d59af029a482e094a3707828438.zip
- Changed plugins for new APIs
Original commit message from CVS: - Changed plugins for new APIs - modularized audiofile. - added seeking, query and convert functions for mad, mpeg2dec, avidemux, mpegdemux, mpegparse - sync updates to oss. removed the ossclock for now
Diffstat (limited to 'ext/audiofile/gstaf.c')
-rw-r--r--ext/audiofile/gstaf.c40
1 files changed, 40 insertions, 0 deletions
diff --git a/ext/audiofile/gstaf.c b/ext/audiofile/gstaf.c
new file mode 100644
index 00000000..4e2b3e9a
--- /dev/null
+++ b/ext/audiofile/gstaf.c
@@ -0,0 +1,40 @@
+/* GStreamer
+ * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+
+#include "gstafsrc.h"
+#include "gstafsink.h"
+#include "gstafparse.h"
+
+static gboolean
+plugin_init (GModule *module, GstPlugin *plugin)
+{
+ gst_afsink_plugin_init (module, plugin);
+ gst_afsrc_plugin_init (module, plugin);
+ gst_afparse_plugin_init (module, plugin);
+
+ return TRUE;
+}
+
+GstPluginDesc plugin_desc = {
+ GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ "gstaf",
+ plugin_init
+};