Commit d26a6881 authored by Ronald S. Bultje's avatar Ronald S. Bultje
Browse files

Re-add v4lelement as an actual element. Useless within pipes but extremely...

Re-add v4lelement as an actual element. Useless within pipes but extremely useful in generic video4linux audodetectio...

Original commit message from CVS:
Re-add v4lelement as an actual element. Useless within pipes but extremely useful in generic video4linux audodetection of features and such
parent c8168e2c
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "v4l_calls.h" #include "v4l_calls.h"
#if 0
static GstElementDetails gst_v4lelement_details = { static GstElementDetails gst_v4lelement_details = {
"Generic video4linux Element", "Generic video4linux Element",
"None/Video", "None/Video",
...@@ -28,7 +27,6 @@ static GstElementDetails gst_v4lelement_details = { ...@@ -28,7 +27,6 @@ static GstElementDetails gst_v4lelement_details = {
"Ronald Bultje <rbultje@ronald.bitfreak.net>", "Ronald Bultje <rbultje@ronald.bitfreak.net>",
"(C) 2001", "(C) 2001",
}; };
#endif
/* V4lElement signals and args */ /* V4lElement signals and args */
enum { enum {
...@@ -564,15 +562,14 @@ static gboolean ...@@ -564,15 +562,14 @@ static gboolean
plugin_init (GModule *module, plugin_init (GModule *module,
GstPlugin *plugin) GstPlugin *plugin)
{ {
#if 0
GstElementFactory *factory; GstElementFactory *factory;
/* create an elementfactory for the v4lelement */ /* create an elementfactory for the v4lelement */
factory = gst_elementfactory_new("v4lelement",GST_TYPE_V4LELEMENT, factory = gst_elementfactory_new("v4lelement", GST_TYPE_V4LELEMENT,
&gst_v4lelement_details); &gst_v4lelement_details);
g_return_val_if_fail(factory != NULL, FALSE); g_return_val_if_fail(factory != NULL, FALSE);
gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory)); gst_plugin_add_feature (plugin, GST_PLUGIN_FEATURE (factory));
#endif
return TRUE; return TRUE;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment