2002-03-29 01:01:13 +00:00
|
|
|
#include "gstdxr3videosink.h"
|
2002-03-29 00:23:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2002-04-11 20:42:26 +00:00
|
|
|
video_factory = gst_element_factory_new("dxr3videosink", GST_TYPE_DXR3_VIDEO_SINK, &dxr3_video_sink_details);
|
2002-03-29 00:23:16 +00:00
|
|
|
g_return_val_if_fail(video_factory != NULL, FALSE);
|
|
|
|
|
2002-04-11 20:42:26 +00:00
|
|
|
gst_element_factory_add_pad_template (video_factory, GST_PAD_TEMPLATE_GET (dxr3_video_sink_factory));
|
2002-03-29 00:23:16 +00:00
|
|
|
|
|
|
|
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (video_factory));
|
|
|
|
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
GstPluginDesc plugin_desc = {
|
|
|
|
GST_VERSION_MAJOR,
|
|
|
|
GST_VERSION_MINOR,
|
|
|
|
"dxr3",
|
|
|
|
plugin_init
|
|
|
|
};
|
|
|
|
|
|
|
|
|