summaryrefslogtreecommitdiffstats
path: root/sys/vdpau/gstvdpau.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vdpau/gstvdpau.c')
-rw-r--r--sys/vdpau/gstvdpau.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpau.c b/sys/vdpau/gstvdpau.c
new file mode 100644
index 00000000..04a0ef5b
--- /dev/null
+++ b/sys/vdpau/gstvdpau.c
@@ -0,0 +1,25 @@
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
+
+#include <gst/gst.h>
+
+#include "gstvdpaumpegdecoder.h"
+#include "gstvdpauvideoyuv.h"
+static gboolean
+vdpau_init (GstPlugin * vdpaumpegdecoder)
+{
+ gst_element_register (vdpaumpegdecoder, "vdpaumpegdecoder",
+ GST_RANK_NONE, GST_TYPE_VDPAU_MPEG_DECODER);
+ gst_element_register (vdpaumpegdecoder, "vdpauvideoyuv",
+ GST_RANK_NONE, GST_TYPE_VDPAU_VIDEO_YUV);
+
+ return TRUE;
+}
+
+GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ "vdpau",
+ "Various elements utilizing VDPAU",
+ vdpau_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")