add factory init for sinesrc
authorSteve Baker <steve@stevebaker.org>
Sat, 28 Apr 2001 18:57:23 +0000 (18:57 +0000)
committerSteve Baker <steve@stevebaker.org>
Sat, 28 Apr 2001 18:57:23 +0000 (18:57 +0000)
Original commit message from CVS:
add factory init for sinesrc

gst/elements/gstelements.c
plugins/elements/gstelements.c

index afd0862..6a46c67 100644 (file)
@@ -57,7 +57,7 @@ static struct _elements_entry _elements[] = {
   { "fdsrc",       gst_fdsrc_get_type,         &gst_fdsrc_details,             NULL },
   { "multidisksrc", gst_multidisksrc_get_type, &gst_multidisksrc_details,      NULL },
   { "pipefilter",   gst_pipefilter_get_type,   &gst_pipefilter_details,        NULL },
-  { "sinesrc",             gst_sinesrc_get_type,       &gst_sinesrc_details,           NULL },
+  { "sinesrc",             gst_sinesrc_get_type,       &gst_sinesrc_details,           gst_sinesrc_factory_init },
   { "tee",                 gst_tee_get_type,           &gst_tee_details,               gst_tee_factory_init },
 
 #if HAVE_LIBGHTTP
index afd0862..6a46c67 100644 (file)
@@ -57,7 +57,7 @@ static struct _elements_entry _elements[] = {
   { "fdsrc",       gst_fdsrc_get_type,         &gst_fdsrc_details,             NULL },
   { "multidisksrc", gst_multidisksrc_get_type, &gst_multidisksrc_details,      NULL },
   { "pipefilter",   gst_pipefilter_get_type,   &gst_pipefilter_details,        NULL },
-  { "sinesrc",             gst_sinesrc_get_type,       &gst_sinesrc_details,           NULL },
+  { "sinesrc",             gst_sinesrc_get_type,       &gst_sinesrc_details,           gst_sinesrc_factory_init },
   { "tee",                 gst_tee_get_type,           &gst_tee_details,               gst_tee_factory_init },
 
 #if HAVE_LIBGHTTP