summaryrefslogtreecommitdiffstats
path: root/gst/mve/gstmve.c
diff options
context:
space:
mode:
authorJens Granseuer <jensgr@gmx.net>2007-01-11 11:39:56 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-01-11 11:39:56 +0000
commit5dbec4ecf422943e0a9b7dadb16106b29e0753ca (patch)
treea874c5d91bc2227b7880dc5e5db337e7669c2b81 /gst/mve/gstmve.c
parentabe3e58b1b29867f0728cf0d108602833287e0cf (diff)
downloadgst-plugins-bad-5dbec4ecf422943e0a9b7dadb16106b29e0753ca.tar.gz
gst-plugins-bad-5dbec4ecf422943e0a9b7dadb16106b29e0753ca.tar.bz2
gst-plugins-bad-5dbec4ecf422943e0a9b7dadb16106b29e0753ca.zip
Add Interplay MVE format demuxer/decoder and muxer/encoder. Demuxer doesn't support seeking yet, but seems to work fi...
Original commit message from CVS: Patch by: Jens Granseuer <jensgr at gmx net> * configure.ac: * gst/mve/Makefile.am: * gst/mve/TODO: * gst/mve/gstmve.c: * gst/mve/gstmvedemux.c: * gst/mve/gstmvedemux.h: * gst/mve/gstmvemux.c: * gst/mve/gstmvemux.h: * gst/mve/mve.h: * gst/mve/mveaudiodec.c: * gst/mve/mveaudioenc.c: * gst/mve/mvevideodec16.c: * gst/mve/mvevideodec8.c: * gst/mve/mvevideoenc16.c: * gst/mve/mvevideoenc8.c: Add Interplay MVE format demuxer/decoder and muxer/encoder. Demuxer doesn't support seeking yet, but seems to work fine otherwise. Closes #348973.
Diffstat (limited to 'gst/mve/gstmve.c')
-rw-r--r--gst/mve/gstmve.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/gst/mve/gstmve.c b/gst/mve/gstmve.c
new file mode 100644
index 00000000..ae1014b2
--- /dev/null
+++ b/gst/mve/gstmve.c
@@ -0,0 +1,46 @@
+/* GStreamer plugin for Interplay MVE movie files
+ *
+ * Copyright (C) 2006 Jens Granseuer <jensgr@gmx.net>
+ *
+ * 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.
+ *
+ * For more information about the Interplay MVE format, visit:
+ * http://www.pcisys.net/~melanson/codecs/interplay-mve.txt
+ */
+
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+#include "gstmvedemux.h"
+#include "gstmvemux.h"
+
+static gboolean
+mve_plugin_init (GstPlugin * plugin)
+{
+
+ return gst_element_register (plugin, "mvedemux",
+ GST_RANK_PRIMARY,
+ GST_TYPE_MVE_DEMUX) &&
+ gst_element_register (plugin, "mvemux", GST_RANK_NONE, GST_TYPE_MVE_MUX);
+}
+
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ "mve",
+ "Interplay MVE movie format manipulation",
+ mve_plugin_init,
+ VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);