summaryrefslogtreecommitdiffstats
path: root/sys/dxr3/gstdxr3.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-29 00:23:16 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-29 00:23:16 +0000
commitcb99f1dab122abd488cb96871a6fbf67474e4168 (patch)
tree642235adde846c0edd8d25fee035a102f317896a /sys/dxr3/gstdxr3.c
parent625a9e6eb1d9a329259e2f63354c14ed2f5d10c6 (diff)
downloadgst-plugins-bad-cb99f1dab122abd488cb96871a6fbf67474e4168.tar.gz
gst-plugins-bad-cb99f1dab122abd488cb96871a6fbf67474e4168.tar.bz2
gst-plugins-bad-cb99f1dab122abd488cb96871a6fbf67474e4168.zip
some s/KHz/Hz/ fixes in osssrc consistency-with-the-rest-of-gst adjustments
Original commit message from CVS: * some s/KHz/Hz/ fixes in osssrc * added dxr3 plugin from rehan khwaja <rehankhwaja@yahoo.com>, with some consistency-with-the-rest-of-gst adjustments
Diffstat (limited to 'sys/dxr3/gstdxr3.c')
-rw-r--r--sys/dxr3/gstdxr3.c37
1 files changed, 37 insertions, 0 deletions
diff --git a/sys/dxr3/gstdxr3.c b/sys/dxr3/gstdxr3.c
new file mode 100644
index 00000000..594afd89
--- /dev/null
+++ b/sys/dxr3/gstdxr3.c
@@ -0,0 +1,37 @@
+#include "gstdxr3video.h"
+
+
+static GstElementDetails dxr3_video_sink_details = {
+ "dxr3/Hollywood+ mpeg decoder board plugin",
+ "video/mpeg",
+ "Outputs PAL/NTSC video via the dxr3/Hollywood+ mpeg decoder board",
+ VERSION,
+ "Rehan Khwaja <rehankhwaja@yahoo.com>",
+ "(C) 2002",
+};
+
+
+static gboolean
+plugin_init (GModule *module, GstPlugin *plugin)
+{
+ GstElementFactory *video_factory;
+
+ video_factory = gst_elementfactory_new("dxr3videosink", GST_TYPE_DXR3_VIDEO_SINK, &dxr3_video_sink_details);
+ g_return_val_if_fail(video_factory != NULL, FALSE);
+
+ gst_elementfactory_add_padtemplate (video_factory, GST_PADTEMPLATE_GET (dxr3_video_sink_factory));
+
+ gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (video_factory));
+
+ return TRUE;
+}
+
+
+GstPluginDesc plugin_desc = {
+ GST_VERSION_MAJOR,
+ GST_VERSION_MINOR,
+ "dxr3",
+ plugin_init
+};
+
+